/*
* generated by Xtext
*/
package org.xtext.example.mydsl6.parser.antlr;

import com.google.inject.Inject;

import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.xtext.example.mydsl6.services.MyDsl6GrammarAccess;

public class MyDsl6Parser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
	
	@Inject
	private MyDsl6GrammarAccess grammarAccess;
	
	@Override
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
	}
	
	@Override
	protected org.xtext.example.mydsl6.parser.antlr.internal.InternalMyDsl6Parser createParser(XtextTokenStream stream) {
		return new org.xtext.example.mydsl6.parser.antlr.internal.InternalMyDsl6Parser(stream, getGrammarAccess());
	}
	
	@Override 
	protected String getDefaultRuleName() {
		return "Context";
	}
	
	public MyDsl6GrammarAccess getGrammarAccess() {
		return this.grammarAccess;
	}
	
	public void setGrammarAccess(MyDsl6GrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}
	
}
