Class ComposeFileParser
- java.lang.Object
-
- org.eclipse.xtext.parser.AbstractParser
-
- org.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
- org.palladiosimulator.somox.docker.compose.parser.antlr.ComposeFileParser
-
- All Implemented Interfaces:
org.eclipse.xtext.parser.IParser
public class ComposeFileParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
-
Constructor Summary
Constructors Constructor Description ComposeFileParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.antlr.runtime.TokenSource
createLexer(org.antlr.runtime.CharStream stream)
protected InternalComposeFileParser
createParser(org.eclipse.xtext.parser.antlr.XtextTokenStream stream)
protected String
getDefaultRuleName()
ComposeFileGrammarAccess
getGrammarAccess()
protected boolean
isReparseSupported()
Indentation aware languages do not support partial parsing since the lexer is inherently stateful.void
setGrammarAccess(ComposeFileGrammarAccess 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
-
-
-
-
Method Detail
-
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 InternalComposeFileParser createParser(org.eclipse.xtext.parser.antlr.XtextTokenStream stream)
- Specified by:
createParser
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
getDefaultRuleName
protected String getDefaultRuleName()
- Specified by:
getDefaultRuleName
in classorg.eclipse.xtext.parser.antlr.AbstractAntlrParser
-
getGrammarAccess
public ComposeFileGrammarAccess getGrammarAccess()
-
setGrammarAccess
public void setGrammarAccess(ComposeFileGrammarAccess grammarAccess)
-
-