diff options
author | 2019-08-01 14:49:53 +0200 | |
---|---|---|
committer | 2019-08-01 14:49:53 +0200 | |
commit | 972baab642bd889d2c3476c0c9e17a6929e0c318 (patch) | |
tree | 8f724cb348c60e4fc45d446d8532988ed8e40748 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java | |
parent | Counting scope propagator (simpler than BasicTypeHierarchy) (diff) | |
download | VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.gz VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.zst VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.zip |
[Stochastic] Remove fault tree support for now
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java deleted file mode 100644 index 11f5a864..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | import java.util.Collections; | ||
8 | import org.eclipse.xtext.AbstractRule; | ||
9 | import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; | ||
10 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; | ||
11 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; | ||
12 | import org.eclipse.xtext.util.PolymorphicDispatcher; | ||
13 | |||
14 | public class PartialCftLanguageContentAssistParser extends CftLanguageParser implements IPartialEditingContentAssistParser { | ||
15 | |||
16 | private AbstractRule rule; | ||
17 | |||
18 | @Override | ||
19 | public void initializeFor(AbstractRule rule) { | ||
20 | this.rule = rule; | ||
21 | } | ||
22 | |||
23 | @Override | ||
24 | protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { | ||
25 | if (rule == null || rule.eIsProxy()) | ||
26 | return Collections.emptyList(); | ||
27 | String methodName = "entryRule" + rule.getName(); | ||
28 | PolymorphicDispatcher<Collection<FollowElement>> dispatcher = | ||
29 | new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); | ||
30 | dispatcher.invoke(); | ||
31 | return parser.getFollowElements(); | ||
32 | } | ||
33 | |||
34 | } | ||