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

org.openxma.dsl.ddl.parser.antlr.DdlDslParser Maven / Gradle / Ivy

/*
* generated by Xtext
*/
package org.openxma.dsl.ddl.parser.antlr;

import com.google.inject.Inject;

import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.openxma.dsl.ddl.services.DdlDslGrammarAccess;

public class DdlDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
	
	@Inject
	private DdlDslGrammarAccess grammarAccess;
	
	@Override
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
	}
	
	@Override
	protected org.openxma.dsl.ddl.parser.antlr.internal.InternalDdlDslParser createParser(XtextTokenStream stream) {
		return new org.openxma.dsl.ddl.parser.antlr.internal.InternalDdlDslParser(stream, getGrammarAccess());
	}
	
	@Override 
	protected String getDefaultRuleName() {
		return "Ddl";
	}
	
	public DdlDslGrammarAccess getGrammarAccess() {
		return this.grammarAccess;
	}
	
	public void setGrammarAccess(DdlDslGrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy