/*
 * generated by Xtext 2.12.0
 */
package com.irtsaintexupery.xtext.parser.antlr;

import com.google.inject.Inject;
import com.irtsaintexupery.xtext.parser.antlr.internal.InternalPseimParser;
import com.irtsaintexupery.xtext.services.PseimGrammarAccess;
import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;

public class PseimParser extends AbstractAntlrParser {

	@Inject
	private PseimGrammarAccess grammarAccess;

	@Override
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
	}
	

	@Override
	protected InternalPseimParser createParser(XtextTokenStream stream) {
		return new InternalPseimParser(stream, getGrammarAccess());
	}

	@Override 
	protected String getDefaultRuleName() {
		return "Model";
	}

	public PseimGrammarAccess getGrammarAccess() {
		return this.grammarAccess;
	}

	public void setGrammarAccess(PseimGrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}
}
