add_dynamic_property_position(self,
component,
position_before_dynamic_value)
|
|
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:
|