Package de.jplag.rlang
Class RParserAdapter
This class sets up the lexer and parser generated by ANTLR4, feeds the submissions through them and passes the
selected tokens on to the main program.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.antlr.v4.runtime.LexercreateLexer(org.antlr.v4.runtime.CharStream input) protected RParsercreateParser(org.antlr.v4.runtime.CommonTokenStream tokenStream) protected org.antlr.v4.runtime.ParserRuleContextgetEntryContext(RParser parser) protected AbstractAntlrListenerMethods inherited from class de.jplag.antlr.AbstractAntlrParserAdapter
parse
-
Constructor Details
-
RParserAdapter
public RParserAdapter()
-
-
Method Details
-
createLexer
protected org.antlr.v4.runtime.Lexer createLexer(org.antlr.v4.runtime.CharStream input) - Specified by:
createLexerin classAbstractAntlrParserAdapter<RParser>
-
createParser
- Specified by:
createParserin classAbstractAntlrParserAdapter<RParser>
-
getEntryContext
- Specified by:
getEntryContextin classAbstractAntlrParserAdapter<RParser>
-
getListener
- Specified by:
getListenerin classAbstractAntlrParserAdapter<RParser>
-