Package EDU.purdue.jtb.parser
Class LexGen
java.lang.Object
EDU.purdue.jtb.parser.JavaCCGlobals
EDU.purdue.jtb.parser.LexGen
Generate lexer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Action[]
static boolean[]
static int[]
static boolean[]
static int
static RegularExpression_
static int
static boolean
static boolean
static boolean[]
static boolean[]
static NfaState
static int[]
static boolean
static int
static String[]
static int[]
static String
static int
static int[]
static int
static boolean[]
static RegularExpression_[]
static boolean[]
static int
static long[]
static long[]
static long[]
static long[]
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 -
Method Summary
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 Details
-
lexStateIndex
public static int lexStateIndex -
maxOrdinal
public static int maxOrdinal -
lexStateSuffix
-
lexStates
public static int[] lexStates -
ignoreCase
public static boolean[] ignoreCase -
actions
-
initStates
-
stateSetSize
public static int stateSetSize -
maxLexStates
public static int maxLexStates -
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
-
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
-
curKind
public static int curKind -
curRE
-
keepLineCol
public static boolean keepLineCol
-
-
Constructor Details
-
LexGen
public LexGen()
-
-
Method Details
-
reInit
public static void reInit()
-