diff options
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill')
2 files changed, 31 insertions, 0 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeModule.xtend b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeModule.xtend new file mode 100644 index 00000000..e48b4935 --- /dev/null +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeModule.xtend | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.12.0 | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.ide | ||
5 | |||
6 | |||
7 | /** | ||
8 | * Use this class to register ide components. | ||
9 | */ | ||
10 | class VampireLanguageIdeModule extends AbstractVampireLanguageIdeModule { | ||
11 | } | ||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeSetup.xtend b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeSetup.xtend new file mode 100644 index 00000000..b8411c32 --- /dev/null +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src/ca/mcgill/ecse/dslreasoner/ide/VampireLanguageIdeSetup.xtend | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.12.0 | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.ide | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.VampireLanguageRuntimeModule | ||
7 | import ca.mcgill.ecse.dslreasoner.VampireLanguageStandaloneSetup | ||
8 | import com.google.inject.Guice | ||
9 | import org.eclipse.xtext.util.Modules2 | ||
10 | |||
11 | /** | ||
12 | * Initialization support for running Xtext languages as language servers. | ||
13 | */ | ||
14 | class VampireLanguageIdeSetup extends VampireLanguageStandaloneSetup { | ||
15 | |||
16 | override createInjector() { | ||
17 | Guice.createInjector(Modules2.mixin(new VampireLanguageRuntimeModule, new VampireLanguageIdeModule)) | ||
18 | } | ||
19 | |||
20 | } | ||