Java org.antlr.v4.tool Grammar fields, constructors, methods, implement or subclass

Example usage for Java org.antlr.v4.tool Grammar fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.antlr.v4.tool Grammar.

The text is from its open source code.

Field

Constructor

Method

LexerInterpretercreateLexerInterpreter(CharStream input)
ParserInterpretercreateParserInterpreter(TokenStream tokenStream)
RulegetRule(String name)
RulegetRule(int index)
StringgetTokenDisplayName(int ttype)
Given a token type, get a meaningful name for it such as the ID or string literal.
String[]getTokenNames()
Gets an array of token names for tokens defined or imported by the grammar.
intgetTokenType(String token)
Grammarload(String fileName)
convenience method for Tool.loadGrammar()