...
Again you may notice the custom action method header is following the same pattern as in previous case. We have elements
list from which we can access all tokens as parsed during expansion of DirDimElemPair
. In this case we can find DimIdentifer
contents in elements[0]
, elements[1]
would contain all whitespace characters that could follow a dimension identifier (or if there are none, elements[1]
will be empty). Next, elements[2]
would contain a single character : that is used to divide an element name from the dimension name. And similarly, elements[3]
would contain all whitespace characters that could follow a :
separator. Now, elements[4]
refers to tokens that were collected when parsing DirElementList
non-terminal symbol.
...
Method | Usage |
---|---|
| Custom action: Create a |
| Custom action: Creates a |
| Custom action: Creates a |
| Custom action: Creates instance of |
| Custom action: Creates instance of |
| Custom action: Will call |
| Custom action: Creates a |
| Custom action: Creates a |
| Custom action: Creates a |
| Custom action: Returns a string representing an identifier parsed by the parser - for example it may be a dimension, hierarchy or element name. |
| Custom action: Returns a string representing an ID to use to retrieve MDX query from |
| Custom action: Returns a string representing name of a region after |
| 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. |
| Custom action: Returns a tuple containing a dimension and an element name. |
| Custom action: Returns a tuple containing a dimension identifier and element list. |
| Custom action: Returns a hierarchy name (optional) and element name. |
| Custom action: Returns an element name with no hierarchy. |
| Custom action: Returns a list of element names. |
| Custom action: Returns a list of element names. |
| Custom action: Returns |
| Custom action: Returns a hex footprint parsed from a placeholder before actual rule for which the checksum was calculated. |
| Custom action: Returns an instance of |
| Returns a spliced rule as string. The method will first parse the rule, then it will retrieve parse tree and in turn it will run |
| Returns a rule as string. The method will parse the rule, then retrieve parse tree and run |
| Returns a parse tree, root element of the tree is a |
| Returns a list of parse subtrees that match a supplied region name. |
| Returns a modified parse subtree that will not contain a specified subtree that is removed. |
| Returns a modified parse subtree that will contain a specified subtree that has been added to a location of supplied region. |
ArgumentParser
(class in ArgumentParser.py
)
...