public class ReflectionLexerAndParserFactory extends Object implements LexerAndParserFactory
Constructor and Description |
---|
ReflectionLexerAndParserFactory(Class<? extends org.antlr.v4.runtime.Lexer> lexerClass,
Class<? extends org.antlr.v4.runtime.Parser> parserClass) |
Modifier and Type | Method and Description |
---|---|
org.antlr.v4.runtime.Lexer |
createLexer(org.antlr.v4.runtime.CharStream input) |
org.antlr.v4.runtime.Parser |
createParser(org.antlr.v4.runtime.TokenStream tokenStream) |
public org.antlr.v4.runtime.Lexer createLexer(org.antlr.v4.runtime.CharStream input)
createLexer
in interface LexerFactory
public org.antlr.v4.runtime.Parser createParser(org.antlr.v4.runtime.TokenStream tokenStream)
createParser
in interface ParserFactory
Copyright © 2020. All rights reserved.