Modify pom file
[nemo.git] / nemo-tools / eclipse-plugin / nemo-editor / org.opendaylight.nemo.tool.eclipse.plugin.editor / src-gen / org / opendaylight / nemo / tool / eclipse / plugin / parser / antlr / EditorParser.java
1 /*
2  * generated by Xtext
3  */
4 package org.opendaylight.nemo.tool.eclipse.plugin.parser.antlr;
5
6 import com.google.inject.Inject;
7
8 import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9 import org.opendaylight.nemo.tool.eclipse.plugin.services.EditorGrammarAccess;
10
11 public class EditorParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
12         
13         @Inject
14         private EditorGrammarAccess grammarAccess;
15         
16         @Override
17         protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
18                 tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
19         }
20         
21         @Override
22         protected org.opendaylight.nemo.tool.eclipse.plugin.parser.antlr.internal.InternalEditorParser createParser(XtextTokenStream stream) {
23                 return new org.opendaylight.nemo.tool.eclipse.plugin.parser.antlr.internal.InternalEditorParser(stream, getGrammarAccess());
24         }
25         
26         @Override 
27         protected String getDefaultRuleName() {
28                 return "Model";
29         }
30         
31         public EditorGrammarAccess getGrammarAccess() {
32                 return this.grammarAccess;
33         }
34         
35         public void setGrammarAccess(EditorGrammarAccess grammarAccess) {
36                 this.grammarAccess = grammarAccess;
37         }
38         
39 }