Class Constants
java.lang.Object
EDU.purdue.jtb.common.Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]The list of base nodes classesstatic final String[]The array of base nodes interfacesstatic final intThe javadoc break plus string lengthstatic final StringThe javadoc break plus the OS line separatorstatic final intThe javadoc break plus the OS line separator string lengthstatic final booleanTurns on / off printing class debug comments (useful to find where each line is produced)static final booleanTurns on / off printing field and sub comment debug commentsstatic final StringDefault node scope hook directory namestatic final StringDefault node scope hook package namestatic final StringDefault nodes directory namestatic final StringDefault nodes package namestatic final StringDefault nodes prefixstatic final StringDefault nodes suffixstatic final StringDefault JavaCC generated grammar file namestatic final StringDefault signature directory namestatic final StringDefault signature package namestatic final StringDefault visitors directory namestatic final StringDefault visitors package namestatic final StringThe node scope hook empty class namestatic final intThe "file exists" return codestatic final StringFile header commentstatic final StringVisitor methods user argument (second and more arguments) variablestatic final StringVisitor methods depth level local variablestatic final StringVisitor methods node argument (first argument) variablestatic final StringVisitor methods node argument (first argument) variable plus dotstatic final StringVisitor methods return variablestatic final StringAccept methods visitor variablestatic final StringThe node scope hook interface namestatic final intThe indentation default number of charactersstatic final StringName of the node interface that all tree nodes implementstatic final StringName of the list interface that NodeList, NodeListOptional and NodeSequence implementstatic final StringName of the (generated by JavaCC) class representing a tokenstatic final StringThe jtb base nodes interfaces list key in the data modelstatic final StringThe jtb base nodes classes list key in the data modelstatic final StringThe jtb constants map key in the data modelstatic final StringThe jtb number of sub-nodes to be created map key in the data modelstatic final StringThe jtb nodes which must not be created map key in the data modelstatic final StringThe jtb options map key in the data modelstatic final StringThe jtb all nodes map key in the data modelstatic final StringThe jtb user nodes map key in the data modelstatic final StringThe program versionstatic final StringThe external generator class method to be invokedstatic final StringThe enter node scope hook method namestatic final StringThe exit node scope hook method namestatic final StringThe JTB node scope hook variable namestatic final StringThe JTB created node variablestatic final StringThe JTB result type save variables prefixstatic final StringThe JTB result type variables prefixstatic final StringThe JTB created control signature variable prefixstatic final StringThe JTB created user node variable prefixstatic final StringThe OS line separator stringstatic final charThe OS line separator first characterstatic final intThe OS line separator string lengthstatic final StringName of the node class representing a grammar choice such as ( A | B )static final StringName of the node class holding the constants reflecting the generated classes "static final StringName of the node class representing a list such as ( A )+static final StringName of the node class representing an optional list such as (A )*static final StringName of the node class representing an optional such as [ A ] or ( A )?static final StringName of the node class representing a nested sequence of nodesstatic final StringName of the (generated by JavaCC) class representing a token; same asjjTokenstatic final intThe "OK" return codestatic final StringThe java program nameA map holding the primitive types (except void)static final longThe serial version uidstatic final StringThe signature annotation namestatic final StringThe signature annotation processor namestatic final StringAn indication in case of JTB internal errorsstatic final StringThe TreeDumpervisitor class namestatic final StringThe TreeFormatter visitor class name -
Method Summary
-
Field Details
-
DEBUG_CLASS
public static final boolean DEBUG_CLASSTurns on / off printing class debug comments (useful to find where each line is produced)- See Also:
-
DEBUG_COMMENT
public static final boolean DEBUG_COMMENTTurns on / off printing field and sub comment debug comments- See Also:
-
JTB_VERSION
-
SERIALVERSIONUID
public static final long SERIALVERSIONUIDThe serial version uid -
PROG_NAME
-
fileHeaderComment
-
SUPPORT
-
INDENT_AMT
public static final int INDENT_AMTThe indentation default number of characters- See Also:
-
LS
The OS line separator string -
LS0
public static final char LS0The OS line separator first character -
LSLEN
public static final int LSLENThe OS line separator string length -
BRLEN
public static final int BRLENThe javadoc break plus string length -
BRLS
The javadoc break plus the OS line separator -
BRLSLEN
public static final int BRLSLENThe javadoc break plus the OS line separator string length -
OK_RC
public static final int OK_RCThe "OK" return code- See Also:
-
FILE_EXISTS_RC
public static final int FILE_EXISTS_RCThe "file exists" return code- See Also:
-
iNode
Name of the node interface that all tree nodes implement -
iNodeList
Name of the list interface that NodeList, NodeListOptional and NodeSequence implement -
nodeChoice
Name of the node class representing a grammar choice such as ( A | B ) -
nodeList
Name of the node class representing a list such as ( A )+ -
nodeListOptional
Name of the node class representing an optional list such as (A )* -
nodeOptional
Name of the node class representing an optional such as [ A ] or ( A )? -
nodeSequence
Name of the node class representing a nested sequence of nodes -
nodeToken
-
jjToken
Name of the (generated by JavaCC) class representing a token -
baseNodesInterfaces
The array of base nodes interfaces -
baseNodesClasses
The list of base nodes classes -
nodeConstants
Name of the node class holding the constants reflecting the generated classes " -
treeFormatterName
-
treeDumperName
-
genVisVar
-
genRetVar
-
genNodeVar
Visitor methods node argument (first argument) variable- See Also:
-
genNodeVarDot
Visitor methods node argument (first argument) variable plus dot- See Also:
-
genArguVar
Visitor methods user argument (second and more arguments) variable- See Also:
-
genDepthLevelVar
-
jtbHookVar
-
iEnterExitHook
-
emptyEnterExitHook
-
jtbHookEnter
-
jtbHookExit
-
jtbEgInvokedMethode
The external generator class method to be invoked- See Also:
-
jtb_constants_dm_key
The jtb constants map key in the data model- See Also:
-
jtb_options_dm_key
-
jtb_base_interfaces_dm_key
The jtb base nodes interfaces list key in the data model- See Also:
-
jtb_base_nodes_dm_key
The jtb base nodes classes list key in the data model- See Also:
-
jtb_user_nodes_dm_key
The jtb user nodes map key in the data model- See Also:
-
jtb_notTbcNodes_dm_key
The jtb nodes which must not be created map key in the data model- See Also:
-
jtb_prod_dm_key
-
jtb_nbSubNodesTbc_dm_key
The jtb number of sub-nodes to be created map key in the data model- See Also:
-
jtbRtPrefix
-
jtbRtOld
-
jtbNodeVar
-
jtbUserPfx
-
jtbSigPfx
-
sigAnnName
The signature annotation name -
sigAnnProcName
The signature annotation processor name -
DEF_ND_PREFIX
-
DEF_ND_SUFFIX
-
DEF_ND_PKG_NAME
-
DEF_VIS_PKG_NAME
-
DEF_SIG_PKG_NAME
-
DEF_HOOK_PKG_NAME
-
DEF_ND_DIR_NAME
-
DEF_VIS_DIR_NAME
-
DEF_SIG_DIR_NAME
-
DEF_HOOK_DIR_NAME
-
DEF_OUT_FILE_NAME
-
ptHM
-