Class LexerGenerator

java.lang.Object
icyllis.arc3d.compiler.lex.LexerGenerator

public class LexerGenerator extends Object
Generates the Lexer class.
  • Field Details

  • Constructor Details

    • LexerGenerator

      public LexerGenerator()
  • Method Details

    • process

      @Nonnull public static DFA process(PrintWriter pw)
    • writeTransitionTable

      public static void writeTransitionTable(PrintWriter pw, DFA dfa, int states)
    • main

      public static void main(String[] args)
      Generates the lexer source code.