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[]actionsstatic boolean[]canLoopstatic int[]canMatchAnyCharstatic boolean[]canReachOnMorestatic intcurKindstatic RegularExpression_curREstatic intdefaultLexStatestatic booleanhasEmptyMatchstatic booleanhasLoopstatic boolean[]hasNfastatic boolean[]ignoreCasestatic NfaStateinitialStatestatic int[]initMatchstatic java.util.Map<java.lang.String,NfaState>initStatesstatic booleankeepLineColstatic intlexStateIndexstatic java.lang.String[]lexStateNamestatic int[]lexStatesstatic java.lang.StringlexStateSuffixstatic intmaxLexStatesstatic int[]maxLongsReqdstatic intmaxOrdinalstatic boolean[]mixedstatic RegularExpression_[]rexprsstatic boolean[]stateHasActionsstatic intstateSetSizestatic long[]toMorestatic long[]toSkipstatic long[]toSpecialstatic 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 voidreInit()-
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
-
-