Class JJTreeGlobals
java.lang.Object
org.javacc.jjtree.JJTreeGlobals
-
Field Summary
FieldsModifier and TypeFieldDescriptionThis set stores the JJTree-specific options that should not be passed down to JavaCCstatic StringThe package the node files live in.static StringThe package that the parser lives in.static TokenThe first token of the parser class body (the{).static TokenTheimplementstoken of the parser class.static TokenThe first token of theimportlist, or the position where such a list should be inserted.static StringUse this like className.static Map<String, ASTProduction> This is mapping from production names to ASTProduction objects.static final StringString that identifies the JavaCC generated files. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void(package private) static booleanisOptionJJTreeOnly(String optionName)
-
Field Details
-
toolName
-
jjtreeOptions
-
toolList
-
parserName
Use this like className. -
packageName
The package that the parser lives in. If the grammar doesn't specify a package it is the empty string. -
nodePackageName
The package the node files live in. If the NODE_PACKAGE option is not set, then this defaults to packageName. -
parserImplements
Theimplementstoken of the parser class. If the parser doesn't have one then it is the first "{" of the parser class body. -
parserClassBodyStart
The first token of the parser class body (the{). The JJTree state is inserted after this token. -
parserImports
The first token of theimportlist, or the position where such a list should be inserted. The import for the Node Package is inserted after this token. -
productions
This is mapping from production names to ASTProduction objects.
-
-
Constructor Details
-
JJTreeGlobals
public JJTreeGlobals()
-
-
Method Details
-
initialize
static void initialize() -
isOptionJJTreeOnly
-