org.javacc.parser
Class LexGen

java.lang.Object
  extended by org.javacc.parser.JavaCCGlobals
      extended by org.javacc.parser.LexGen
All Implemented Interfaces:
JavaCCParserConstants

public class LexGen
extends JavaCCGlobals
implements JavaCCParserConstants


Field Summary
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.Hashtable 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 org.javacc.parser.JavaCCGlobals
bnfproductions, ccol, cline, cu_from_insertion_point_2, cu_name, cu_to_insertion_point_1, cu_to_insertion_point_2, fileName, jj2index, jjcovGenerated, jjtreeGenerated, lexstate_I2S, lexstate_S2I, maskindex, maskVals, named_tokens_table, names_of_tokens, ordered_named_tokens, origFileName, outputDir, production_table, rexprlist, rexps_of_tokens, simple_tokens_table, token_mgr_decls, tokenCount, toolName, toolNames
 
Fields inherited from interface org.javacc.parser.JavaCCParserConstants
_DEFAULT, _EOF, _IGNORE_CASE, _JAVACODE, _LOOKAHEAD, _MORE, _OPTIONS, _PARSER_BEGIN, _PARSER_END, _SKIP, _SPECIAL_TOKEN, _TOKEN, _TOKEN_MGR_DECLS, ABSTRACT, AFTER_EGEN, ANDASSIGN, ASSIGN, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DO, DOT, DOUBLE, ELSE, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LANGLE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RANGLE, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
 
Constructor Summary
LexGen()
           
 
Method Summary
static void AddCharToSkip(char c, int kind)
           
static void DumpMoreActions()
           
static void DumpSkipActions()
           
static void DumpTokenActions()
           
static void reInit()
           
static void start()
           
 
Methods inherited from class org.javacc.parser.JavaCCGlobals
add_escapes, addUnicodeEscapes, bannerLine, getIdString, getIdString, getToolNames, isGeneratedBy, printLeadingComments, printLeadingComments, printToken, printToken, printTokenOnly, printTokenOnly, printTokenSetup, printTrailingComments, printTrailingComments, setOutputDir, staticOpt, storeOutputDirSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.Hashtable 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
Constructor Detail

LexGen

public LexGen()
Method Detail

AddCharToSkip

public static void AddCharToSkip(char c,
                                 int kind)

start

public static void start()

DumpSkipActions

public static void DumpSkipActions()

DumpMoreActions

public static void DumpMoreActions()

DumpTokenActions

public static void DumpTokenActions()

reInit

public static void reInit()