/*
* generated by Xtext
*/
package org.yakindu.sct.generator.genmodel.parser.antlr;

import com.google.inject.Inject;

import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.yakindu.sct.generator.genmodel.services.SGenGrammarAccess;

public class SGenParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
	
	@Inject
	private SGenGrammarAccess grammarAccess;
	
	@Override
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
	}
	
	@Override
	protected org.yakindu.sct.generator.genmodel.parser.antlr.internal.InternalSGenParser createParser(XtextTokenStream stream) {
		return new org.yakindu.sct.generator.genmodel.parser.antlr.internal.InternalSGenParser(stream, getGrammarAccess());
	}
	
	@Override 
	protected String getDefaultRuleName() {
		return "GeneratorModel";
	}
	
	public SGenGrammarAccess getGrammarAccess() {
		return this.grammarAccess;
	}
	
	public void setGrammarAccess(SGenGrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}
	
}
