diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java index 098fe405..e5ab8088 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java | |||
@@ -1,43 +1,43 @@ | |||
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.serializer; | 4 | package hu.bme.mit.inf.dslreasoner.application.serializer; |
5 | 5 | ||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; | 7 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; |
8 | import java.util.List; | 8 | import java.util.List; |
9 | import org.eclipse.emf.ecore.EObject; | 9 | import org.eclipse.emf.ecore.EObject; |
10 | import org.eclipse.xtext.IGrammarAccess; | 10 | import org.eclipse.xtext.IGrammarAccess; |
11 | import org.eclipse.xtext.RuleCall; | 11 | import org.eclipse.xtext.RuleCall; |
12 | import org.eclipse.xtext.nodemodel.INode; | 12 | import org.eclipse.xtext.nodemodel.INode; |
13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; | 13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; |
14 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; | 14 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; |
15 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; | 15 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; |
16 | 16 | ||
17 | @SuppressWarnings("all") | 17 | @SuppressWarnings("all") |
18 | public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { | 18 | public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { |
19 | 19 | ||
20 | protected ApplicationConfigurationGrammarAccess grammarAccess; | 20 | protected ApplicationConfigurationGrammarAccess grammarAccess; |
21 | 21 | ||
22 | @Inject | 22 | @Inject |
23 | protected void init(IGrammarAccess access) { | 23 | protected void init(IGrammarAccess access) { |
24 | grammarAccess = (ApplicationConfigurationGrammarAccess) access; | 24 | grammarAccess = (ApplicationConfigurationGrammarAccess) access; |
25 | } | 25 | } |
26 | 26 | ||
27 | @Override | 27 | @Override |
28 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { | 28 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { |
29 | return ""; | 29 | return ""; |
30 | } | 30 | } |
31 | 31 | ||
32 | 32 | ||
33 | @Override | 33 | @Override |
34 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { | 34 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { |
35 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; | 35 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; |
36 | List<INode> transitionNodes = collectNodes(fromNode, toNode); | 36 | List<INode> transitionNodes = collectNodes(fromNode, toNode); |
37 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { | 37 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { |
38 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); | 38 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); |
39 | acceptNodes(getLastNavigableState(), syntaxNodes); | 39 | acceptNodes(getLastNavigableState(), syntaxNodes); |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||
43 | } | 43 | } |