| /* |
| * generated by Xtext 2.11.0.beta2 |
| */ |
| package org.eclipse.osbp.xtext.oxtype.parser.antlr; |
| |
| import com.google.inject.Inject; |
| import org.eclipse.osbp.xtext.oxtype.parser.antlr.internal.InternalOXtypeParser; |
| import org.eclipse.osbp.xtext.oxtype.services.OXtypeGrammarAccess; |
| import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
| |
| public class OXtypeParser extends AbstractAntlrParser { |
| |
| @Inject |
| private OXtypeGrammarAccess grammarAccess; |
| |
| @Override |
| protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { |
| tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); |
| } |
| |
| |
| @Override |
| protected InternalOXtypeParser createParser(XtextTokenStream stream) { |
| return new InternalOXtypeParser(stream, getGrammarAccess()); |
| } |
| |
| @Override |
| protected String getDefaultRuleName() { |
| return "XImportDeclaration"; |
| } |
| |
| public OXtypeGrammarAccess getGrammarAccess() { |
| return this.grammarAccess; |
| } |
| |
| public void setGrammarAccess(OXtypeGrammarAccess grammarAccess) { |
| this.grammarAccess = grammarAccess; |
| } |
| } |