Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: The C++ target was last synced with the 3.4 version of ANTLR

The ActionScript C++ target closely follows the C target. The API and runtime behavior are consistent to the extent possible.

...

  • namespace -Wrap the generated classes with the specified namespace.
  • header - Will be inserted right after ANTLRs own imports at the top of the generated file. 
  • includeincludes, pre-includeincludes, post-includes - same meaning as in C Target
  • init - Will be inserted at the end of the constructor of the lexer/parser. Here you can setup your own instance attributes.
  • members - Will be inserted in the class body of the lexer/parser. This is the right place for custom methods and class attributes.

...