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