diff options
author | 2020-05-08 21:02:33 +0200 | |
---|---|---|
committer | 2020-05-08 21:02:33 +0200 | |
commit | 771e3773bb7ebbf6712724cb2b248467c9cc2e3c (patch) | |
tree | b1724af24b9c583b2780c7a2fe76e76fd174359d /Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend | |
parent | Update solver language grammar (diff) | |
download | VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.tar.gz VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.tar.zst VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.zip |
Synthetic tokens for solver language
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend index 343bc48a..e882626b 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend | |||
@@ -3,9 +3,21 @@ | |||
3 | */ | 3 | */ |
4 | package org.eclipse.viatra.solver.language | 4 | package org.eclipse.viatra.solver.language |
5 | 5 | ||
6 | import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageTokenDefInjectingParser | ||
7 | import org.eclipse.viatra.solver.language.serializer.SolverLanguageSyntheticTokenSyntacticSequencer | ||
6 | 8 | ||
7 | /** | 9 | /** |
8 | * Use this class to register components to be used at runtime / without the Equinox extension registry. | 10 | * Use this class to register components to be used at runtime / without the Equinox extension registry. |
9 | */ | 11 | */ |
10 | class SolverLanguageRuntimeModule extends AbstractSolverLanguageRuntimeModule { | 12 | class SolverLanguageRuntimeModule extends AbstractSolverLanguageRuntimeModule { |
13 | |||
14 | override bindIParser() { | ||
15 | SolverLanguageTokenDefInjectingParser | ||
16 | } | ||
17 | |||
18 | |||
19 | override bindISyntacticSequencer() { | ||
20 | SolverLanguageSyntheticTokenSyntacticSequencer | ||
21 | } | ||
22 | |||
11 | } | 23 | } |