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

org.openxma.dsl.dom.parser.antlr.DomDslParser Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
/*
* generated by Xtext
*/
package org.openxma.dsl.dom.parser.antlr;

import com.google.inject.Inject;

import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.openxma.dsl.dom.services.DomDslGrammarAccess;

public class DomDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
	
	@Inject
	private DomDslGrammarAccess grammarAccess;
	
	@Override
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_REGION_START", "RULE_REGION_END");
	}
	
	@Override
	protected org.openxma.dsl.dom.parser.antlr.internal.InternalDomDslParser createParser(XtextTokenStream stream) {
		return new org.openxma.dsl.dom.parser.antlr.internal.InternalDomDslParser(stream, getGrammarAccess());
	}
	
	@Override 
	protected String getDefaultRuleName() {
		return "Model";
	}
	
	public DomDslGrammarAccess getGrammarAccess() {
		return this.grammarAccess;
	}
	
	public void setGrammarAccess(DomDslGrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy