All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.contextmapper.tactic.dsl.parser.antlr.TacticDDDLanguageParser Maven / Gradle / Ivy

/*
 * generated by Xtext 2.20.0
 */
package org.contextmapper.tactic.dsl.parser.antlr;

import com.google.inject.Inject;
import org.contextmapper.tactic.dsl.parser.antlr.internal.InternalTacticDDDLanguageParser;
import org.contextmapper.tactic.dsl.services.TacticDDDLanguageGrammarAccess;
import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;

public class TacticDDDLanguageParser extends AbstractAntlrParser {

	@Inject
	private TacticDDDLanguageGrammarAccess grammarAccess;

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy