diff options
author | 2020-04-28 20:43:04 +0200 | |
---|---|---|
committer | 2020-04-28 20:43:04 +0200 | |
commit | 8a7b9b436b31e6d2f5a0521a077c960ebdeb4cbe (patch) | |
tree | d525bef75519f364d637e0779f8e63d4199dee31 /Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java | |
parent | check expressions are mapped to WF constraints (diff) | |
download | VIATRA-Generator-8a7b9b436b31e6d2f5a0521a077c960ebdeb4cbe.tar.gz VIATRA-Generator-8a7b9b436b31e6d2f5a0521a077c960ebdeb4cbe.tar.zst VIATRA-Generator-8a7b9b436b31e6d2f5a0521a077c960ebdeb4cbe.zip |
initial commit
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java new file mode 100644 index 00000000..7155770e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.18.0.M3 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.parser.antlr; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | import org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser; | ||
8 | import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; | ||
9 | import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; | ||
10 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | ||
11 | |||
12 | public class SolverLanguageParser extends AbstractAntlrParser { | ||
13 | |||
14 | @Inject | ||
15 | private SolverLanguageGrammarAccess grammarAccess; | ||
16 | |||
17 | @Override | ||
18 | protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { | ||
19 | tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); | ||
20 | } | ||
21 | |||
22 | |||
23 | @Override | ||
24 | protected InternalSolverLanguageParser createParser(XtextTokenStream stream) { | ||
25 | return new InternalSolverLanguageParser(stream, getGrammarAccess()); | ||
26 | } | ||
27 | |||
28 | @Override | ||
29 | protected String getDefaultRuleName() { | ||
30 | return "Problem"; | ||
31 | } | ||
32 | |||
33 | public SolverLanguageGrammarAccess getGrammarAccess() { | ||
34 | return this.grammarAccess; | ||
35 | } | ||
36 | |||
37 | public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) { | ||
38 | this.grammarAccess = grammarAccess; | ||
39 | } | ||
40 | } | ||