Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5ba2e7e37b68e89b29e6f47dca1281377f5db257 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * generated by Xtext
 */
package org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.parser.antlr;

import org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.services.AppliedStereotypePropertyGrammarAccess;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;

import com.google.inject.Inject;

public class AppliedStereotypePropertyParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {

	@Inject
	private AppliedStereotypePropertyGrammarAccess grammarAccess;

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

	@Override
	protected org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.parser.antlr.internal.InternalAppliedStereotypePropertyParser createParser(XtextTokenStream stream) {
		return new org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.parser.antlr.internal.InternalAppliedStereotypePropertyParser(stream, getGrammarAccess());
	}

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

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

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

}

Back to the top