Class AbstractThingSyntacticSequencer
java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
org.openhab.core.model.thing.serializer.AbstractThingSyntacticSequencer
- All Implemented Interfaces:
org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor
,org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
- Direct Known Subclasses:
ThingSyntacticSequencer
public abstract class AbstractThingSyntacticSequencer
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 ThingGrammarAccess
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
match_ModelThing___LeftCurlyBracketKeyword_6_0_ChannelsKeyword_6_1_q_RightCurlyBracketKeyword_6_3__q
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_ModelBridge___LeftCurlyBracketKeyword_6_0_ThingsKeyword_6_1_q_ChannelsKeyword_6_3_q_RightCurlyBracketKeyword_6_5__q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: ('{' 'Things:'? 'Channels:'? '}')? This ambiguous syntax occurs at: id=UID ('[' ']')? (ambiguity) (rule end) label=STRING ('[' ']')? (ambiguity) (rule end) location=STRING ('[' ']')? (ambiguity) (rule end) properties+=ModelProperty ']' (ambiguity) (rule end) thingId=UID_SEGMENT ('[' ']')? (ambiguity) (rule end)protected void
emit_ModelBridge___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_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: ('[' ']')? This ambiguous syntax occurs at: id=UID (ambiguity) '{' 'Things:'? 'Channels:'? channels+=ModelChannel id=UID (ambiguity) '{' 'Things:'? things+=ModelBridge id=UID (ambiguity) '{' 'Things:'? things+=ModelThing id=UID (ambiguity) ('{' 'Things:'? 'Channels:'? '}')? (rule end) label=STRING (ambiguity) '{' 'Things:'? 'Channels:'? channels+=ModelChannel label=STRING (ambiguity) '{' 'Things:'? things+=ModelBridge label=STRING (ambiguity) '{' 'Things:'? things+=ModelThing label=STRING (ambiguity) ('{' 'Things:'? 'Channels:'? '}')? (rule end) location=STRING (ambiguity) '{' 'Things:'? 'Channels:'? channels+=ModelChannel location=STRING (ambiguity) '{' 'Things:'? things+=ModelBridge location=STRING (ambiguity) '{' 'Things:'? things+=ModelThing location=STRING (ambiguity) ('{' 'Things:'? 'Channels:'? '}')? (rule end) thingId=UID_SEGMENT (ambiguity) '{' 'Things:'? 'Channels:'? channels+=ModelChannel thingId=UID_SEGMENT (ambiguity) '{' 'Things:'? things+=ModelBridge thingId=UID_SEGMENT (ambiguity) '{' 'Things:'? things+=ModelThing thingId=UID_SEGMENT (ambiguity) ('{' 'Things:'? 'Channels:'? '}')? (rule end)protected void
emit_ModelBridge_ChannelsKeyword_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: 'Channels:'? This ambiguous syntax occurs at: id=UID ('[' ']')? '{' 'Things:'? (ambiguity) channels+=ModelChannel label=STRING ('[' ']')? '{' 'Things:'? (ambiguity) channels+=ModelChannel location=STRING ('[' ']')? '{' 'Things:'? (ambiguity) channels+=ModelChannel properties+=ModelProperty ']' '{' 'Things:'? (ambiguity) channels+=ModelChannel thingId=UID_SEGMENT ('[' ']')? '{' 'Things:'? (ambiguity) channels+=ModelChannel things+=ModelBridge (ambiguity) '}' (rule end) things+=ModelBridge (ambiguity) channels+=ModelChannel things+=ModelThing (ambiguity) '}' (rule end) things+=ModelThing (ambiguity) channels+=ModelChannelprotected void
emit_ModelBridge_ThingsKeyword_6_1_q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: 'Things:'? This ambiguous syntax occurs at: id=UID ('[' ']')? '{' (ambiguity) 'Channels:'? channels+=ModelChannel id=UID ('[' ']')? '{' (ambiguity) things+=ModelBridge id=UID ('[' ']')? '{' (ambiguity) things+=ModelThing label=STRING ('[' ']')? '{' (ambiguity) 'Channels:'? channels+=ModelChannel label=STRING ('[' ']')? '{' (ambiguity) things+=ModelBridge label=STRING ('[' ']')? '{' (ambiguity) things+=ModelThing location=STRING ('[' ']')? '{' (ambiguity) 'Channels:'? channels+=ModelChannel location=STRING ('[' ']')? '{' (ambiguity) things+=ModelBridge location=STRING ('[' ']')? '{' (ambiguity) things+=ModelThing properties+=ModelProperty ']' '{' (ambiguity) 'Channels:'? channels+=ModelChannel properties+=ModelProperty ']' '{' (ambiguity) things+=ModelBridge properties+=ModelProperty ']' '{' (ambiguity) things+=ModelThing thingId=UID_SEGMENT ('[' ']')? '{' (ambiguity) 'Channels:'? channels+=ModelChannel thingId=UID_SEGMENT ('[' ']')? '{' (ambiguity) things+=ModelBridge thingId=UID_SEGMENT ('[' ']')? '{' (ambiguity) things+=ModelThingprotected void
emit_ModelChannel___LeftSquareBracketKeyword_4_0_RightSquareBracketKeyword_4_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: ('[' ']')? This ambiguous syntax occurs at: id=CHANNEL_ID (ambiguity) (rule end) label=STRING (ambiguity) (rule end)protected void
emit_ModelThing___LeftCurlyBracketKeyword_6_0_ChannelsKeyword_6_1_q_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: ('{' 'Channels:'? '}')? This ambiguous syntax occurs at: bridgeUID=UID ')' ('[' ']')? (ambiguity) (rule end) id=UID ('[' ']')? (ambiguity) (rule end) label=STRING ('[' ']')? (ambiguity) (rule end) location=STRING ('[' ']')? (ambiguity) (rule end) properties+=ModelProperty ']' (ambiguity) (rule end) thingId=UID_SEGMENT ('[' ']')? (ambiguity) (rule end)protected void
emit_ModelThing___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_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: ('[' ']')? This ambiguous syntax occurs at: bridgeUID=UID ')' (ambiguity) '{' 'Channels:'? channels+=ModelChannel bridgeUID=UID ')' (ambiguity) ('{' 'Channels:'? '}')? (rule end) id=UID (ambiguity) '{' 'Channels:'? channels+=ModelChannel id=UID (ambiguity) ('{' 'Channels:'? '}')? (rule end) label=STRING (ambiguity) '{' 'Channels:'? channels+=ModelChannel label=STRING (ambiguity) ('{' 'Channels:'? '}')? (rule end) location=STRING (ambiguity) '{' 'Channels:'? channels+=ModelChannel location=STRING (ambiguity) ('{' 'Channels:'? '}')? (rule end) thingId=UID_SEGMENT (ambiguity) '{' 'Channels:'? channels+=ModelChannel thingId=UID_SEGMENT (ambiguity) ('{' 'Channels:'? '}')? (rule end)protected void
emit_ModelThing_ChannelsKeyword_6_1_q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: 'Channels:'? This ambiguous syntax occurs at: bridgeUID=UID ')' ('[' ']')? '{' (ambiguity) channels+=ModelChannel id=UID ('[' ']')? '{' (ambiguity) channels+=ModelChannel label=STRING ('[' ']')? '{' (ambiguity) channels+=ModelChannel location=STRING ('[' ']')? '{' (ambiguity) channels+=ModelChannel properties+=ModelProperty ']' '{' (ambiguity) channels+=ModelChannel thingId=UID_SEGMENT ('[' ']')? '{' (ambiguity) channels+=ModelChannelprotected void
emit_ModelThing_ThingKeyword_0_q
(org.eclipse.emf.ecore.EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Ambiguous syntax: 'Thing'? This ambiguous syntax occurs at: (rule start) (ambiguity) id=UID (rule start) (ambiguity) thingTypeId=UID_SEGMENTprotected 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_ModelBridge_ChannelsKeyword_6_3_q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelBridge_ChannelsKeyword_6_3_q -
match_ModelBridge_ThingsKeyword_6_1_q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelBridge_ThingsKeyword_6_1_q -
match_ModelBridge___LeftCurlyBracketKeyword_6_0_ThingsKeyword_6_1_q_ChannelsKeyword_6_3_q_RightCurlyBracketKeyword_6_5__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelBridge___LeftCurlyBracketKeyword_6_0_ThingsKeyword_6_1_q_ChannelsKeyword_6_3_q_RightCurlyBracketKeyword_6_5__q -
match_ModelBridge___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelBridge___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_3__q -
match_ModelChannel___LeftSquareBracketKeyword_4_0_RightSquareBracketKeyword_4_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelChannel___LeftSquareBracketKeyword_4_0_RightSquareBracketKeyword_4_3__q -
match_ModelThing_ChannelsKeyword_6_1_q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelThing_ChannelsKeyword_6_1_q -
match_ModelThing_ThingKeyword_0_q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelThing_ThingKeyword_0_q -
match_ModelThing___LeftCurlyBracketKeyword_6_0_ChannelsKeyword_6_1_q_RightCurlyBracketKeyword_6_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelThing___LeftCurlyBracketKeyword_6_0_ChannelsKeyword_6_1_q_RightCurlyBracketKeyword_6_3__q -
match_ModelThing___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_ModelThing___LeftSquareBracketKeyword_5_0_RightSquareBracketKeyword_5_3__q
-
-
Constructor Details
-
AbstractThingSyntacticSequencer
public AbstractThingSyntacticSequencer()
-
-
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
-