diff options
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser')
3 files changed, 33 insertions, 0 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin new file mode 100644 index 00000000..24f61d80 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin | |||
Binary files differ | |||
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore new file mode 100644 index 00000000..9cf14147 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore | |||
@@ -0,0 +1,7 @@ | |||
1 | /.SolverLangaugeSyntheticTokenParser.java._trace | ||
2 | /.SolverLanguageSyntheticTokenTokenSource.java._trace | ||
3 | /.LastTokenState.java._trace | ||
4 | /.SolverLangusgeSyntheticTokenParser.java._trace | ||
5 | /.SolverLanguageSyntheticTokenParser.java._trace | ||
6 | /.SolverLanguageTokenSource.java._trace | ||
7 | /.SolverLanguageTokenDefInjectingParser.java._trace | ||
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java new file mode 100644 index 00000000..12c92733 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java | |||
@@ -0,0 +1,26 @@ | |||
1 | package org.eclipse.viatra.solver.language.parser.antlr; | ||
2 | |||
3 | import com.google.inject.Inject; | ||
4 | import org.antlr.runtime.CharStream; | ||
5 | import org.antlr.runtime.TokenSource; | ||
6 | import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageParser; | ||
7 | import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageTokenSource; | ||
8 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; | ||
9 | |||
10 | @SuppressWarnings("all") | ||
11 | public class SolverLanguageTokenDefInjectingParser extends SolverLanguageParser { | ||
12 | @Inject | ||
13 | private ITokenDefProvider tokenDefProvider; | ||
14 | |||
15 | @Override | ||
16 | protected TokenSource createLexer(final CharStream stream) { | ||
17 | SolverLanguageTokenSource _xblockexpression = null; | ||
18 | { | ||
19 | TokenSource _createLexer = super.createLexer(stream); | ||
20 | final SolverLanguageTokenSource tokenSource = ((SolverLanguageTokenSource) _createLexer); | ||
21 | tokenSource.initializeTokenDefsFrom(this.tokenDefProvider); | ||
22 | _xblockexpression = tokenSource; | ||
23 | } | ||
24 | return _xblockexpression; | ||
25 | } | ||
26 | } | ||