Home | Trees | Indices | Help |
---|
|
Collects the MatchCandidates found during the token trie walk along with their token position. Positions for dynamic properties are also recorded for later use.
@author DeviceAtlas Limited
Instance Methods | |||
|
|||
|
|||
|
Properties | |
identifier | |
match_candidates | |
dynamic_property_positions |
Method Details |
Store a MatchCandidate along with it's token position. The token position is used by the lookaround constraints. :param component: :param position_before_dynamic_value: :return: |
The component and character position are stored in a map with the component as the key as it will later be accessed. If the same token appears multiple times in an Identifier then only the last position will be stored with it. It may appear sensible to store all positions for a component to avoid losing the first position but it is more efficient to only store one position and to use rule constraints to prevent more than one of the same component being added. :param component: :param position_before_dynamic_value: :return: |
Property Details |
identifier
|
match_candidates
|
dynamic_property_positions
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Sep 12 12:56:07 2023 | http://epydoc.sourceforge.net |