Method | Usage |
---|
make_empty_line
| Custom action: Create a TM1RuleToken instance representing an empty line. |
make_comment
| Custom action: Creates a TM1RuleToken instance representing a comment or a directive. |
make_command
| Custom action: Creates a TM1RuleToken or TM1RuleCommand instance based on type of parsed token. TM1RuleCommand instance will be created for calculation rule or a feeder rule (CalcRule non-terminal symbol in grammar), an instance of TM1RuleToken in other cases (skipcheck , feeders , feedstrings ). |
begin_region
| Custom action: Creates instance of TM1RegionStart when #Region was parsed. |
end_region
| Custom action: Creates instance of TM1RegionEnd when #EndRegion was parsed. |
make_directive
| Custom action: Will call directives_resolver .consume_directive to create an instance of a new TM1Directive in the directives_resolver .directives_by_scope internal store when the parser parsed a directive. |
make_calc_rule
| Custom action: Creates a TM1CalcRule instance when a calculation rule statement was parsed. |
make_feeder_rule
| Custom action: Creates a TM1CalcRule instance when a feeder rule statement was parsed. |
make_area_statement
| Custom action: Creates a TM1RuleAreaStatement instance when an area statement of calculation or a feeder rule was parsed. The instance of the class is area_statement property of TM1CalcRule created by make_calc_rule or make_feeder_rule . |
make_ident
| Custom action: Returns a string representing an identifier parsed by the parser - for example it may be a dimension, hierarchy or element name. |
make_catalog_key
| Custom action: Returns a string representing an ID to use to retrieve MDX query from fpm.json Catalog object that is associated with a directive that has been parsed. |
make_region_definition
| Custom action: Returns a string representing name of a region after #Region or #EndRegion have been parsed. |
add_dim_to_map
| Custom action: Returns a dictionary of elements that follow a dimension name in a directive or in an area statement indexed by the dimension name. |
add_dim_to_map2
| Custom action: Returns a tuple containing a dimension and an element name. |
make_dim_elem_pair
| Custom action: Returns a tuple containing a dimension identifier and element list. |
make_hier_elem
| Custom action: |
ignore_dim_elem_pair
| |
make_elem_list
| |
make_elem_list2
| |
make_mdx_query
| |
make_hex_footprint
| |
make_rule_id
| |
splice_rule
| |
get_rule
| |
get_parse_tree
| |
locate_region_subtrees
| |
exclude_subtree
| |
inject_subtree
| |