Package icyllis.arc3d.compiler.lex
Class LexerGenerator
java.lang.Object
icyllis.arc3d.compiler.lex.LexerGenerator
Generates the
Lexer
class.-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final String
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Generates the lexer source code.static DFA
process
(PrintWriter pw) static void
writeTransitionTable
(PrintWriter pw, DFA dfa, int states)
-
Field Details
-
LEXICON
- See Also:
-
NUM_BITS
public static final int NUM_BITS- See Also:
-
NUM_VALUES
public static final int NUM_VALUES- See Also:
-
DATA_PER_BYTE
public static final int DATA_PER_BYTE- See Also:
-
DATA_PER_BYTE_SHIFT
public static final int DATA_PER_BYTE_SHIFT
-
-
Constructor Details
-
LexerGenerator
public LexerGenerator()
-
-
Method Details
-
process
-
writeTransitionTable
-
main
Generates the lexer source code.
-