public class JJTreeOptions extends Options
JAVA_TEMPLATE_TYPE_CLASSIC, JAVA_TEMPLATE_TYPE_MODERN, NONUSER_OPTION__HAS_NAMESPACE, NONUSER_OPTION__NAMESPACE_CLOSE, NONUSER_OPTION__NAMESPACE_OPEN, NONUSER_OPTION__PARSER_NAME, s_optionValues, USEROPTION__BUILD_PARSER, USEROPTION__BUILD_TOKEN_MANAGER, USEROPTION__CACHE_TOKENS, USEROPTION__CHOICE_AMBIGUITY_CHECK, USEROPTION__COMMON_TOKEN_ACTION, USEROPTION__CPP_IGNORE_ACTIONS, USEROPTION__CPP_NAMESPACE, USEROPTION__CPP_PARSER_INCLUDE, USEROPTION__CPP_PARSER_INCLUDES, USEROPTION__CPP_STACK_LIMIT, USEROPTION__CPP_STOP_ON_FIRST_ERROR, USEROPTION__CPP_TOKEN_INCLUDE, USEROPTION__CPP_TOKEN_INCLUDES, USEROPTION__CPP_TOKEN_MANAGER_INCLUDES, USEROPTION__CPP_TOKEN_MANAGER_SUPERCLASS, USEROPTION__DEBUG_LOOKAHEAD, USEROPTION__DEBUG_PARSER, USEROPTION__DEBUG_TOKEN_MANAGER, USEROPTION__DEPTH_LIMIT, USEROPTION__ERROR_REPORTING, USEROPTION__FORCE_LA_CHECK, USEROPTION__GENERATE_BOILERPLATE, USEROPTION__GRAMMAR_ENCODING, 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__OUTPUT_ENCODING, USEROPTION__OUTPUT_LANGUAGE, USEROPTION__PARSER_CODE_GENERATOR, USEROPTION__PARSER_SUPER_CLASS, USEROPTION__SANITY_CHECK, USEROPTION__SUPPORT_CLASS_VISIBILITY_PUBLIC, USEROPTION__TOKEN_EXTENDS, USEROPTION__TOKEN_FACTORY, USEROPTION__TOKEN_MANAGER_CODE_GENERATOR, USEROPTION__TOKEN_MANAGER_SUPER_CLASS, USEROPTION__TOKEN_MANAGER_USES_PARSER, USEROPTION__UNICODE_INPUT, USEROPTION__USER_CHAR_STREAM, USEROPTION__USER_TOKEN_MANAGER| Modifier | Constructor and Description |
|---|---|
protected |
JJTreeOptions()
Limit subclassing to derived classes.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
getJJTreeOutputDirectory()
Find the output directory to place the generated
.jj files
into. |
static String |
getNodeClass()
Find the node class name.
|
static String |
getNodeExtends()
Find the node super class name.
|
static String |
getNodeFactory()
Find the node factory value.
|
static String |
getNodePackage()
Find the node package value.
|
static String |
getNodePrefix()
Find the node prefix value.
|
static String |
getOutputFile()
Find the output file value.
|
static String |
getVisitorDataType()
Find the visitor data type value
|
static String |
getVisitorException()
Find the visitor exception value
|
static String |
getVisitorReturnType()
Find the visitor return type value
|
static void |
init()
Initialize the JJTree-specific options.
|
static boolean |
isBuildNodeFiles()
Find the build node files value.
|
static boolean |
isMulti()
Find the multi value.
|
static boolean |
isNodeDefaultVoid()
Find the node default void value.
|
static boolean |
isNodeScopeHook()
Find the node scope hook value.
|
static boolean |
isNodeUsesParser()
Find the node uses parser value.
|
static boolean |
isTrackTokens()
Find the trackTokens value.
|
static boolean |
isVisitor()
Find the visitor value.
|
static void |
validate()
Check options for consistency
|
booleanValue, getAllOptions, getChoiceAmbiguityCheck, getCPPStackLimit, getDepthLimit, getGrammarEncoding, getJavaTemplateType, getJdkVersion, getLookahead, getOptionsString, getOtherAmbiguityCheck, getOutputDirectory, getOutputEncoding, getOutputLanguage, getParserCodeGenerator, getTokenExtends, getTokenFactory, getTokenManagerCodeGenerator, getTokenMgrErrorClass, getUserOptions, hasCPPStackLimit, hasDepthLimit, intValue, isBuildParser, isBuildTokenManager, isCacheTokens, isCommonTokenAction, isDebugLookahead, isDebugParser, isDebugTokenManager, isErrorReporting, isForceLaCheck, isGenerateJavaBoilerplateCode, isIgnoreCase, isJavaSupportClassVisibilityPublic, isJavaUnicodeEscape, isJavaUserCharStream, isKeepLineColumn, isNoDfa, isOption, isSanityCheck, isTokenManagerRequiresParserAccess, isTokenManagerUsesParser, isUnicodeInput, isUserTokenManager, normalize, objectValue, processCPPNamespaceOption, setCmdLineOption, setInputFileOption, setStringOption, stringValuepublic static void init()
public static void validate()
public static boolean isMulti()
public static boolean isNodeDefaultVoid()
public static boolean isNodeScopeHook()
public static String getNodeFactory()
public static boolean isNodeUsesParser()
public static boolean isBuildNodeFiles()
public static boolean isVisitor()
public static boolean isTrackTokens()
public static String getNodePrefix()
public static String getNodeExtends()
public static String getNodeClass()
public static String getNodePackage()
public static String getOutputFile()
public static String getVisitorException()
public static String getVisitorDataType()
public static String getVisitorReturnType()
public static File getJJTreeOutputDirectory()
.jj files
into. If none is configured, use the value of
getOutputDirectory().Copyright © 2017–2019 Philip Helger. All rights reserved.