/*
* generated by Xtext
*/
package edu.ksu.cis.projects.mdcf.devicemodel.parser.antlr;
import com.google.inject.Inject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import edu.ksu.cis.projects.mdcf.devicemodel.services.DeviceModelingLanguageGrammarAccess;
public class DeviceModelingLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
private DeviceModelingLanguageGrammarAccess grammarAccess;
@Override
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
}
@Override
protected edu.ksu.cis.projects.mdcf.devicemodel.parser.antlr.internal.InternalDeviceModelingLanguageParser createParser(XtextTokenStream stream) {
return new edu.ksu.cis.projects.mdcf.devicemodel.parser.antlr.internal.InternalDeviceModelingLanguageParser(stream, getGrammarAccess());
}
@Override
protected String getDefaultRuleName() {
return "Model";
}
public DeviceModelingLanguageGrammarAccess getGrammarAccess() {
return this.grammarAccess;
}
public void setGrammarAccess(DeviceModelingLanguageGrammarAccess grammarAccess) {
this.grammarAccess = grammarAccess;
}
}