Class JJTreeOptions
java.lang.Object
org.javacc.parser.Options
org.javacc.jjtree.JJTreeOptions
The JJTree-specific options.
-
Field Summary
Fields inherited from class Options
JAVA_TEMPLATE_TYPE_CLASSIC, JAVA_TEMPLATE_TYPE_MODERN, NONUSER_OPTION__HAS_NAMESPACE, NONUSER_OPTION__INTERPRETER, NONUSER_OPTION__LEGACY_EXCEPTION_HANDLING, NONUSER_OPTION__NAMESPACE_CLOSE, NONUSER_OPTION__NAMESPACE_OPEN, NONUSER_OPTION__PARSER_NAME, NONUSER_OPTION__PARSER_NAME_UPPER_CASE, optionValues, USEROPTION__BUILD_PARSER, USEROPTION__BUILD_TOKEN_MANAGER, USEROPTION__CACHE_TOKENS, USEROPTION__CHOICE_AMBIGUITY_CHECK, USEROPTION__CODE_GENERATOR, USEROPTION__COMMON_TOKEN_ACTION, USEROPTION__CPP_LIBRARY, USEROPTION__CPP_NAMESPACE, USEROPTION__CPP_PARSER_INCLUDE, USEROPTION__CPP_STACK_LIMIT, USEROPTION__CPP_STOP_ON_FIRST_ERROR, USEROPTION__CPP_TOKEN_CLASS, USEROPTION__CPP_TOKEN_CONSTANTS_INCLUDE, USEROPTION__CPP_TOKEN_CONSTANTS_NAMESPACE, USEROPTION__CPP_TOKEN_FACTORY, USEROPTION__CPP_TOKEN_INCLUDE, USEROPTION__CPP_TOKEN_MANAGER_INCLUDE, USEROPTION__CPP_TOKEN_NAMESPACE, USEROPTION__CPP_USE_ARRAY, USEROPTION__DEBUG_LOOKAHEAD, USEROPTION__DEBUG_PARSER, USEROPTION__DEBUG_TOKEN_MANAGER, USEROPTION__DEPTH_LIMIT, USEROPTION__ERROR_REPORTING, USEROPTION__FORCE_LA_CHECK, USEROPTION__GENERATE_ANNOTATIONS, USEROPTION__GENERATE_BOILERPLATE, USEROPTION__GENERATE_CHAINED_EXCEPTION, USEROPTION__GENERATE_GENERICS, USEROPTION__GENERATE_STRING_BUILDER, USEROPTION__GRAMMAR_ENCODING, USEROPTION__IGNORE_ACTIONS, USEROPTION__IGNORE_CASE, USEROPTION__JAVA_TEMPLATE_TYPE, USEROPTION__JAVA_UNICODE_ESCAPE, USEROPTION__JDK_VERSION, USEROPTION__KEEP_LINE_COLUMN, USEROPTION__LOOKAHEAD, USEROPTION__NO_DFA, USEROPTION__OTHER_AMBIGUITY_CHECK, USEROPTION__OUTPUT_DIRECTORY, USEROPTION__SANITY_CHECK, USEROPTION__STATIC, USEROPTION__SUPPORT_CLASS_VISIBILITY_PUBLIC, USEROPTION__TOKEN_EXTENDS, USEROPTION__TOKEN_MANAGER_SUPER_CLASS, USEROPTION__TOKEN_MANAGER_USES_PARSER, USEROPTION__UNICODE_INPUT, USEROPTION__USER_CHAR_STREAM, USEROPTION__USER_TOKEN_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FileCompute where are located the ASTNodes is any are definedfinal booleanFind the build node files value.final FileFind the output directory to place the generated.jjfiles into.final booleangetMulti()Find the multi value.final StringFind the node class name.final booleanFind the node default void value.final StringFind the node super class name.final StringFind the node factory value.final StringFind the node package value.final StringFind the node prefix value.final booleanFind the node scope hook value.final booleanFind the node uses parser value.final StringFind the output file value.final booleanFind the trackTokens value.final booleanFind the visitor value.final StringFind the visitor data type valuefinal StringFind the visitor exception valuefinal StringFind the visitor return type valueMethods inherited from class Options
booleanValue, getBuildParser, getBuildTokenManager, getCacheTokens, getCharStreamName, getCodeGenerator, getCommonTokenAction, getCppUseArray, getDebugLookahead, getDebugParser, getDebugTokenManager, getDepthLimit, getErrorReporting, getForceLaCheck, getGenerateAnnotations, getGenerateChainedException, getGenerateGenerics, getGenerateStringBuilder, getGrammarEncoding, getIgnoreCase, getJavaTemplateType, getJavaUnicodeEscape, getJdkVersion, getKeepLineColumn, getLibrary, getLookahead, getNamespace, getNoDfa, getOpenCloseNamespace, getOptions, getOptionsString, getOutputDirectory, getParserInclude, getSanityCheck, getStackLimit, getStatic, getSupportClassVisibilityPublic, getTokenClass, getTokenConstantsInclude, getTokenConstantsNamespace, getTokenExtends, getTokenFactory, getTokenInclude, getTokenManagerInclude, getTokenManagerUsesParser, getTokenNamespace, getUnicodeInput, getUserCharStream, getUserTokenManager, hasNamespace, init, intValue, isGenerateBoilerplateCode, isLegacyExceptionHandling, isOption, isTokenManagerRequiresParserAccess, normalize, objectValue, set, setCmdLineOption, setInputFileOption, stringListValue, stringValue
-
Constructor Details
-
JJTreeOptions
protected JJTreeOptions()Limit subclassing to derived classes.
-
-
Method Details
-
getMulti
public final boolean getMulti()Find the multi value.- Returns:
- The requested multi value.
-
getNodeDefaultVoid
public final boolean getNodeDefaultVoid()Find the node default void value.- Returns:
- The requested node default void value.
-
getNodeScopeHook
public final boolean getNodeScopeHook()Find the node scope hook value.- Returns:
- The requested node scope hook value.
-
getNodeFactory
Find the node factory value.- Returns:
- The requested node factory value.
-
getNodeUsesParser
public final boolean getNodeUsesParser()Find the node uses parser value.- Returns:
- The requested node uses parser value.
-
getBuildNodeFiles
public final boolean getBuildNodeFiles()Find the build node files value.- Returns:
- The requested build node files value.
-
getVisitor
public final boolean getVisitor()Find the visitor value.- Returns:
- The requested visitor value.
-
getTrackTokens
public final boolean getTrackTokens()Find the trackTokens value.- Returns:
- The requested trackTokens value.
-
getNodePrefix
Find the node prefix value.- Returns:
- The requested node prefix value.
-
getNodeExtends
Find the node super class name.- Returns:
- The requested node super class
-
getNodeClass
-
getNodePackage
Find the node package value.- Returns:
- The requested node package value.
-
getOutputFile
Find the output file value.- Returns:
- The requested output file value.
-
getVisitorException
Find the visitor exception value- Returns:
- The requested visitor exception value.
-
getVisitorDataType
Find the visitor data type value- Returns:
- The requested visitor data type value.
-
getVisitorReturnType
Find the visitor return type value- Returns:
- The requested visitor return type value.
-
getJJTreeOutputDirectory
Find the output directory to place the generated.jjfiles into. If none is configured, use the value ofgetOutputDirectory().- Returns:
- The requested JJTree output directory
-
getASTNodeDirectory
Compute where are located the ASTNodes is any are defined- Returns:
- the requested NODE_DIRECTORY directory
-