diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java index e6e84770..43c08a32 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java | |||
@@ -1,34 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; | 4 | package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; |
5 | 5 | ||
6 | import java.util.Collection; | 6 | import java.util.Collection; |
7 | import java.util.Collections; | 7 | import java.util.Collections; |
8 | import org.eclipse.xtext.AbstractRule; | 8 | import org.eclipse.xtext.AbstractRule; |
9 | import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; | 9 | import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; |
10 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; | 10 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; |
11 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; | 11 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; |
12 | import org.eclipse.xtext.util.PolymorphicDispatcher; | 12 | import org.eclipse.xtext.util.PolymorphicDispatcher; |
13 | 13 | ||
14 | public class PartialApplicationConfigurationContentAssistParser extends ApplicationConfigurationParser implements IPartialEditingContentAssistParser { | 14 | public class PartialApplicationConfigurationContentAssistParser extends ApplicationConfigurationParser implements IPartialEditingContentAssistParser { |
15 | 15 | ||
16 | private AbstractRule rule; | 16 | private AbstractRule rule; |
17 | 17 | ||
18 | @Override | 18 | @Override |
19 | public void initializeFor(AbstractRule rule) { | 19 | public void initializeFor(AbstractRule rule) { |
20 | this.rule = rule; | 20 | this.rule = rule; |
21 | } | 21 | } |
22 | 22 | ||
23 | @Override | 23 | @Override |
24 | protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { | 24 | protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { |
25 | if (rule == null || rule.eIsProxy()) | 25 | if (rule == null || rule.eIsProxy()) |
26 | return Collections.emptyList(); | 26 | return Collections.emptyList(); |
27 | String methodName = "entryRule" + rule.getName(); | 27 | String methodName = "entryRule" + rule.getName(); |
28 | PolymorphicDispatcher<Collection<FollowElement>> dispatcher = | 28 | PolymorphicDispatcher<Collection<FollowElement>> dispatcher = |
29 | new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); | 29 | new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); |
30 | dispatcher.invoke(); | 30 | dispatcher.invoke(); |
31 | return parser.getFollowElements(); | 31 | return parser.getFollowElements(); |
32 | } | 32 | } |
33 | 33 | ||
34 | } | 34 | } |