org.contextmapper.servicecutter.dsl.parser.antlr.ServiceCutterConfigurationDSLParser Maven / Gradle / Ivy
/*
* generated by Xtext 2.20.0
*/
package org.contextmapper.servicecutter.dsl.parser.antlr;
import com.google.inject.Inject;
import org.contextmapper.servicecutter.dsl.parser.antlr.internal.InternalServiceCutterConfigurationDSLParser;
import org.contextmapper.servicecutter.dsl.services.ServiceCutterConfigurationDSLGrammarAccess;
import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
public class ServiceCutterConfigurationDSLParser extends AbstractAntlrParser {
@Inject
private ServiceCutterConfigurationDSLGrammarAccess grammarAccess;
@Override
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
}
@Override
protected InternalServiceCutterConfigurationDSLParser createParser(XtextTokenStream stream) {
return new InternalServiceCutterConfigurationDSLParser(stream, getGrammarAccess());
}
@Override
protected String getDefaultRuleName() {
return "ServiceCutterUserRepresentationsModel";
}
public ServiceCutterConfigurationDSLGrammarAccess getGrammarAccess() {
return this.grammarAccess;
}
public void setGrammarAccess(ServiceCutterConfigurationDSLGrammarAccess grammarAccess) {
this.grammarAccess = grammarAccess;
}
}