Class AbstractPersistenceSyntacticSequencer
java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
org.openhab.core.model.persistence.serializer.AbstractPersistenceSyntacticSequencer
- All Implemented Interfaces:
org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor
,org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
- Direct Known Subclasses:
PersistenceSyntacticSequencer
public abstract class AbstractPersistenceSyntacticSequencer
extends org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer.SyntacticalContext
Nested classes/interfaces inherited from interface org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer.ISyntacticSequencerOwner
-
Field Summary
Modifier and TypeFieldDescriptionprotected PersistenceGrammarAccess
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
contexts, delegate, diagnosticProvider, errorAcceptor, pdaProvider, tokenUtil
Fields inherited from interface org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor
NO_INDEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
emit_PersistenceConfiguration_ColonKeyword_3_0_0_or_SemicolonKeyword_3_1
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: ':' | ';' This ambiguous syntax occurs at: alias=STRING (ambiguity) (rule end) items+=AllConfig (ambiguity) (rule end) items+=GroupConfig (ambiguity) (rule end) items+=GroupExcludeConfig (ambiguity) (rule end) items+=ItemConfig (ambiguity) (rule end) items+=ItemExcludeConfig (ambiguity) (rule end)protected void
emit_PersistenceModel___FiltersKeyword_6_0_LeftCurlyBracketKeyword_6_1_RightCurlyBracketKeyword_6_3__q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: ('Filters' '{' '}')? This ambiguous syntax occurs at: (rule start) 'Strategies' '{' '}' (ambiguity) 'Items' '{' configs+=PersistenceConfiguration (rule start) 'Strategies' '{' '}' (ambiguity) ('Items' '{' '}')? (rule start) defaults+=[Strategy|ID] '}' (ambiguity) 'Items' '{' configs+=PersistenceConfiguration defaults+=[Strategy|ID] '}' (ambiguity) ('Items' '{' '}')? (rule end) strategies+=Strategy '}' (ambiguity) 'Items' '{' configs+=PersistenceConfiguration strategies+=Strategy '}' (ambiguity) ('Items' '{' '}')? (rule end)protected void
emit_PersistenceModel___ItemsKeyword_7_0_LeftCurlyBracketKeyword_7_1_RightCurlyBracketKeyword_7_3__q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: ('Items' '{' '}')? This ambiguous syntax occurs at: (rule start) 'Strategies' '{' '}' ('Filters' '{' '}')? (ambiguity) (rule start) defaults+=[Strategy|ID] '}' ('Filters' '{' '}')? (ambiguity) (rule end) filters+=Filter '}' (ambiguity) (rule end) strategies+=Strategy '}' ('Filters' '{' '}')? (ambiguity) (rule end)protected void
emitUnassignedTokens
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition transition, org.eclipse.xtext.nodemodel.INode fromNode, org.eclipse.xtext.nodemodel.INode toNode) protected String
getUnassignedRuleCallToken
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.RuleCall ruleCall, org.eclipse.xtext.nodemodel.INode node) protected void
init
(org.eclipse.xtext.IGrammarAccess access) Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
accept, accept, acceptAssignedCrossRefDatatype, acceptAssignedCrossRefEnum, acceptAssignedCrossRefKeyword, acceptAssignedCrossRefTerminal, acceptAssignedDatatype, acceptAssignedEnum, acceptAssignedKeyword, acceptAssignedTerminal, acceptNode, acceptNodes, acceptNodes, acceptUnassignedAction, acceptUnassignedDatatype, acceptUnassignedEnum, acceptUnassignedKeyword, acceptUnassignedTerminal, collectAbstractElements, collectNodes, enterAssignedAction, enterAssignedParserRuleCall, findTransition, finish, getLastLeaf, getLastNavigableState, getNodesFor, getTokenText, getUnassignedRuleCallToken, init, init, leaveAssignedAction, leaveAssignedParserRuleCall, navigateToAbsorber, navigateToAbsorber, navigateToEmitter, navigateToEmitter
-
Field Details
-
grammarAccess
-
match_PersistenceConfiguration_ColonKeyword_3_0_0_or_SemicolonKeyword_3_1
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_PersistenceConfiguration_ColonKeyword_3_0_0_or_SemicolonKeyword_3_1 -
match_PersistenceModel___FiltersKeyword_6_0_LeftCurlyBracketKeyword_6_1_RightCurlyBracketKeyword_6_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_PersistenceModel___FiltersKeyword_6_0_LeftCurlyBracketKeyword_6_1_RightCurlyBracketKeyword_6_3__q -
match_PersistenceModel___ItemsKeyword_7_0_LeftCurlyBracketKeyword_7_1_RightCurlyBracketKeyword_7_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_PersistenceModel___ItemsKeyword_7_0_LeftCurlyBracketKeyword_7_1_RightCurlyBracketKeyword_7_3__q
-
-
Constructor Details
-
AbstractPersistenceSyntacticSequencer
public AbstractPersistenceSyntacticSequencer()
-
-
Method Details
-
init
@Inject protected void init(org.eclipse.xtext.IGrammarAccess access) -
getUnassignedRuleCallToken
protected String getUnassignedRuleCallToken(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.RuleCall ruleCall, org.eclipse.xtext.nodemodel.INode node) - Overrides:
getUnassignedRuleCallToken
in classorg.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-
emitUnassignedTokens
protected void emitUnassignedTokens(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition transition, org.eclipse.xtext.nodemodel.INode fromNode, org.eclipse.xtext.nodemodel.INode toNode) - Specified by:
emitUnassignedTokens
in classorg.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-