Class Interpreter


  • public class Interpreter
    extends Object
    Interpret a lexer/parser, optionally printing tree string and dumping profile info $ java org.antlr.v4.gui.Interpreter [X.g4|XParser.g4 XLexer.g4] startRuleName inputFileName [-tree] [-gui] [-trace] [-encoding encoding] [-tokens] [-profile filename.csv]
    • Field Detail

      • profilerColumnNames

        public static final String[] profilerColumnNames
      • grammarFileName

        protected String grammarFileName
      • parserGrammarFileName

        protected String parserGrammarFileName
      • lexerGrammarFileName

        protected String lexerGrammarFileName
      • startRuleName

        protected String startRuleName
      • printTree

        protected boolean printTree
      • gui

        protected boolean gui
      • trace

        protected boolean trace
      • encoding

        protected String encoding
      • showTokens

        protected boolean showTokens
      • profileFileName

        protected String profileFileName
      • inputFileName

        protected String inputFileName