Class ProblemParser
java.lang.Object
org.eclipse.xtext.parser.AbstractParser
org.eclipse.xtext.parser.antlr.AbstractAntlrParser
tools.refinery.language.parser.antlr.ProblemParser
- All Implemented Interfaces:
org.eclipse.xtext.parser.IParser
- Direct Known Subclasses:
TokenSourceInjectingProblemParser
public class ProblemParser
extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.xtext.parser.IParser
org.eclipse.xtext.parser.IParser.NullImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.antlr.runtime.TokenSource
createLexer
(org.antlr.runtime.CharStream stream) protected InternalProblemParser
createParser
(org.eclipse.xtext.parser.antlr.XtextTokenStream stream) protected String
protected boolean
Indentation aware languages do not support partial parsing since the lexer is inherently stateful.void
setGrammarAccess
(ProblemGrammarAccess grammarAccess) protected void
setInitialHiddenTokens
(org.eclipse.xtext.parser.antlr.XtextTokenStream tokenStream) Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractAntlrParser
createNodeModelBuilder, createTokenStream, doParse, doParse, doParse, doReparse, getElementFactory, getLexerProvider, getPartialParser, getSyntaxErrorProvider, getTokenDefProvider, getUnorderedGroupHelper, parse, parse, parse, setElementFactory, setLexerProvider, setPartialParser, setSyntaxErrorProvider, setTokenDefProvider, setUnorderedGroupHelper
Methods inherited from class org.eclipse.xtext.parser.AbstractParser
parse, reparse
-
Constructor Details
-
ProblemParser
public ProblemParser()
-
-
Method Details
-
setInitialHiddenTokens
protected void setInitialHiddenTokens(org.eclipse.xtext.parser.antlr.XtextTokenStream tokenStream) - Overrides:
setInitialHiddenTokens
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
createLexer
protected org.antlr.runtime.TokenSource createLexer(org.antlr.runtime.CharStream stream) - Overrides:
createLexer
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
isReparseSupported
protected boolean isReparseSupported()Indentation aware languages do not support partial parsing since the lexer is inherently stateful. Override and returntrue
if your terminal splitting is stateless.- Overrides:
isReparseSupported
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
createParser
protected InternalProblemParser createParser(org.eclipse.xtext.parser.antlr.XtextTokenStream stream) - Specified by:
createParser
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
getDefaultRuleName
- Specified by:
getDefaultRuleName
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
getGrammarAccess
-
setGrammarAccess
-