Package EDU.purdue.jtb.parser
Class LexGen
- java.lang.Object
-
- EDU.purdue.jtb.parser.JavaCCGlobals
-
- EDU.purdue.jtb.parser.LexGen
-
public class LexGen extends JavaCCGlobals
Generate lexer.
-
-
Field Summary
Fields Modifier and Type Field Description static Action[]
actions
static boolean[]
canLoop
static int[]
canMatchAnyChar
static boolean[]
canReachOnMore
static int
curKind
static RegularExpression_
curRE
static int
defaultLexState
static boolean
hasEmptyMatch
static boolean
hasLoop
static boolean[]
hasNfa
static boolean[]
ignoreCase
static NfaState
initialState
static int[]
initMatch
static java.util.Map<java.lang.String,NfaState>
initStates
static boolean
keepLineCol
static int
lexStateIndex
static java.lang.String[]
lexStateName
static int[]
lexStates
static java.lang.String
lexStateSuffix
static int
maxLexStates
static int[]
maxLongsReqd
static int
maxOrdinal
static boolean[]
mixed
static RegularExpression_[]
rexprs
static boolean[]
stateHasActions
static int
stateSetSize
static long[]
toMore
static long[]
toSkip
static long[]
toSpecial
static long[]
toToken
-
Fields inherited from class EDU.purdue.jtb.parser.JavaCCGlobals
bnfproductions, ccol, cline, cu_from_insertion_point_2, cu_name, cu_to_insertion_point_1, cu_to_insertion_point_2, fileName, jj2index, jjtreeGenerated, lexstate_I2S, lexstate_S2I, lookaheadNeeded, maskindex, maskVals, named_tokens_table, names_of_tokens, ordered_named_tokens, origFileName, production_table, rexprlist, rexps_of_tokens, simple_tokens_table, token_mgr_decls, tokenCount, toolName, toolNames
-
-
Constructor Summary
Constructors Constructor Description LexGen()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
reInit()
-
Methods inherited from class EDU.purdue.jtb.parser.JavaCCGlobals
add_escapes, addUnicodeEscapes, bannerLine, createOutputDir, getIdString, getIdString, getToolNames, isGeneratedBy, printLeadingComments, printLeadingComments, printToken, printToken, printTokenList, printTokenOnly, printTokenOnly, printTokenSetup, printTrailingComments, printTrailingComments
-
-
-
-
Field Detail
-
lexStateIndex
public static int lexStateIndex
-
maxOrdinal
public static int maxOrdinal
-
lexStateSuffix
public static java.lang.String lexStateSuffix
-
lexStates
public static int[] lexStates
-
ignoreCase
public static boolean[] ignoreCase
-
actions
public static Action[] actions
-
initStates
public static java.util.Map<java.lang.String,NfaState> initStates
-
stateSetSize
public static int stateSetSize
-
maxLexStates
public static int maxLexStates
-
lexStateName
public static java.lang.String[] lexStateName
-
toSkip
public static long[] toSkip
-
toSpecial
public static long[] toSpecial
-
toMore
public static long[] toMore
-
toToken
public static long[] toToken
-
defaultLexState
public static int defaultLexState
-
rexprs
public static RegularExpression_[] rexprs
-
maxLongsReqd
public static int[] maxLongsReqd
-
initMatch
public static int[] initMatch
-
canMatchAnyChar
public static int[] canMatchAnyChar
-
hasEmptyMatch
public static boolean hasEmptyMatch
-
canLoop
public static boolean[] canLoop
-
stateHasActions
public static boolean[] stateHasActions
-
hasLoop
public static boolean hasLoop
-
canReachOnMore
public static boolean[] canReachOnMore
-
hasNfa
public static boolean[] hasNfa
-
mixed
public static boolean[] mixed
-
initialState
public static NfaState initialState
-
curKind
public static int curKind
-
curRE
public static RegularExpression_ curRE
-
keepLineCol
public static boolean keepLineCol
-
-