...
package
-Wrap the generated classes with the specified package.header
- Will be inserted right after ANTLRs own imports at the top of the generated file. Use it forimport
statements or any other functions/classes which you need in the package scope.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.
Caveats
TBD.
Unsupported features
Anchor | ||||
---|---|---|---|---|
|
...