[This is preliminary documentation and is subject to change.]
Removes from the RHS tokens any SymbolTokens which have matched against fixed
terminals in the grammar.
Declaration Syntax
C# |
public void RemoveFixedSymbols()
Remarks
Fixed terminals are in double quotes. Non fixed terminals use
the <symbol> notation. This is useful to get rid of symbols from the
AST produced by the parser which have no value in the semantic phase, and
which are part of the language only to distinguish syntactic elements. Be
careful to process any fixed symbols, such as alternatives, which do have
semantic value before calling this method.