Package org.javacc.jjtree
Class JJTreeOptions
- java.lang.Object
-
- org.javacc.parser.Options
-
- org.javacc.jjtree.JJTreeOptions
-
public class JJTreeOptions extends Options
The JJTree-specific options.
-
-
Field Summary
-
Fields inherited from class org.javacc.parser.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 Modifier Constructor Description protectedJJTreeOptions()Limit subclassing to derived classes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetASTNodeDirectory()Compute where are located the ASTNodes is any are definedbooleangetBuildNodeFiles()Find the build node files value.java.io.FilegetJJTreeOutputDirectory()Find the output directory to place the generated.jjfiles into.booleangetMulti()Find the multi value.java.lang.StringgetNodeClass()Find the node class name.booleangetNodeDefaultVoid()Find the node default void value.java.lang.StringgetNodeExtends()Find the node super class name.java.lang.StringgetNodeFactory()Find the node factory value.java.lang.StringgetNodePackage()Find the node package value.java.lang.StringgetNodePrefix()Find the node prefix value.booleangetNodeScopeHook()Find the node scope hook value.booleangetNodeUsesParser()Find the node uses parser value.java.lang.StringgetOutputFile()Find the output file value.booleangetTrackTokens()Find the trackTokens value.booleangetVisitor()Find the visitor value.java.lang.StringgetVisitorDataType()Find the visitor data type valuejava.lang.StringgetVisitorException()Find the visitor exception valuejava.lang.StringgetVisitorReturnType()Find the visitor return type value-
Methods inherited from class org.javacc.parser.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
-
-
-
-
Method Detail
-
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
public final java.lang.String 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
public final java.lang.String getNodePrefix()
Find the node prefix value.- Returns:
- The requested node prefix value.
-
getNodeExtends
public final java.lang.String getNodeExtends()
Find the node super class name.- Returns:
- The requested node super class
-
getNodeClass
public final java.lang.String getNodeClass()
Find the node class name.- Returns:
- The requested node class
-
getNodePackage
public final java.lang.String getNodePackage()
Find the node package value.- Returns:
- The requested node package value.
-
getOutputFile
public final java.lang.String getOutputFile()
Find the output file value.- Returns:
- The requested output file value.
-
getVisitorException
public final java.lang.String getVisitorException()
Find the visitor exception value- Returns:
- The requested visitor exception value.
-
getVisitorDataType
public final java.lang.String getVisitorDataType()
Find the visitor data type value- Returns:
- The requested visitor data type value.
-
getVisitorReturnType
public final java.lang.String getVisitorReturnType()
Find the visitor return type value- Returns:
- The requested visitor return type value.
-
getJJTreeOutputDirectory
public final java.io.File 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
public final java.io.File getASTNodeDirectory()
Compute where are located the ASTNodes is any are defined- Returns:
- the requested NODE_DIRECTORY directory
-
-