public class XtextSemanticSequencer extends AbstractDelegatingSemanticSequencer
genericSequencer, genericSequencerProvider
diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
Constructor and Description |
---|
XtextSemanticSequencer() |
Modifier and Type | Method and Description |
---|---|
protected void |
sequence_AbstractTokenWithCardinality_Action(ISerializationContext context,
Action semanticObject)
Contexts:
Alternatives returns Action
Alternatives.Alternatives_1_0 returns Action
ConditionalBranch returns Action
UnorderedGroup returns Action
UnorderedGroup.UnorderedGroup_1_0 returns Action
Group returns Action
Group.Group_1_0 returns Action
AbstractToken returns Action
AbstractTokenWithCardinality returns Action
AbstractTerminal returns Action
ParenthesizedElement returns Action
Constraint:
(type=TypeRef (feature=ValidID (operator='=' | operator='+='))?
|
protected void |
sequence_AbstractTokenWithCardinality_Alternatives(ISerializationContext context,
Alternatives semanticObject)
Contexts:
Alternatives returns Alternatives
Alternatives.Alternatives_1_0 returns Alternatives
ConditionalBranch returns Alternatives
UnorderedGroup returns Alternatives
UnorderedGroup.UnorderedGroup_1_0 returns Alternatives
Group returns Alternatives
Group.Group_1_0 returns Alternatives
AbstractToken returns Alternatives
AbstractTokenWithCardinality returns Alternatives
AbstractTerminal returns Alternatives
ParenthesizedElement returns Alternatives
Constraint:
(elements+=Alternatives_Alternatives_1_0 elements+=ConditionalBranch+ (cardinality='?'
|
protected void |
sequence_AbstractTokenWithCardinality_Assignment(ISerializationContext context,
Assignment semanticObject)
Contexts:
Alternatives returns Assignment
Alternatives.Alternatives_1_0 returns Assignment
ConditionalBranch returns Assignment
UnorderedGroup returns Assignment
UnorderedGroup.UnorderedGroup_1_0 returns Assignment
Group returns Assignment
Group.Group_1_0 returns Assignment
AbstractToken returns Assignment
AbstractTokenWithCardinality returns Assignment
AbstractTerminal returns Assignment
ParenthesizedElement returns Assignment
Constraint:
(
(predicated?
|
protected void |
sequence_AbstractTokenWithCardinality_ConditionalBranch_Group_PredicatedGroup(ISerializationContext context,
Group semanticObject)
Contexts:
Alternatives returns Group
Alternatives.Alternatives_1_0 returns Group
ConditionalBranch returns Group
UnorderedGroup returns Group
UnorderedGroup.UnorderedGroup_1_0 returns Group
Group returns Group
Group.Group_1_0 returns Group
AbstractToken returns Group
AbstractTokenWithCardinality returns Group
AbstractTerminal returns Group
ParenthesizedElement returns Group
Constraint:
(
(
(guardCondition=Disjunction elements+=AbstractToken+) |
(elements+=Group_Group_1_0 elements+=AbstractToken+) |
((predicated?
|
protected void |
sequence_AbstractTokenWithCardinality_Keyword_PredicatedKeyword(ISerializationContext context,
Keyword semanticObject)
Contexts:
Alternatives returns Keyword
Alternatives.Alternatives_1_0 returns Keyword
ConditionalBranch returns Keyword
UnorderedGroup returns Keyword
UnorderedGroup.UnorderedGroup_1_0 returns Keyword
Group returns Keyword
Group.Group_1_0 returns Keyword
AbstractToken returns Keyword
AbstractTokenWithCardinality returns Keyword
AbstractTerminal returns Keyword
ParenthesizedElement returns Keyword
Constraint:
((value=STRING | ((predicated?
|
protected void |
sequence_AbstractTokenWithCardinality_PredicatedRuleCall_RuleCall(ISerializationContext context,
RuleCall semanticObject)
Contexts:
Alternatives returns RuleCall
Alternatives.Alternatives_1_0 returns RuleCall
ConditionalBranch returns RuleCall
UnorderedGroup returns RuleCall
UnorderedGroup.UnorderedGroup_1_0 returns RuleCall
Group returns RuleCall
Group.Group_1_0 returns RuleCall
AbstractToken returns RuleCall
AbstractTokenWithCardinality returns RuleCall
AbstractTerminal returns RuleCall
ParenthesizedElement returns RuleCall
Constraint:
(
(
(rule=[AbstractRule|RuleID] (arguments+=NamedArgument arguments+=NamedArgument*)?)
|
protected void |
sequence_AbstractTokenWithCardinality_UnorderedGroup(ISerializationContext context,
UnorderedGroup semanticObject)
Contexts:
Alternatives returns UnorderedGroup
Alternatives.Alternatives_1_0 returns UnorderedGroup
ConditionalBranch returns UnorderedGroup
UnorderedGroup returns UnorderedGroup
UnorderedGroup.UnorderedGroup_1_0 returns UnorderedGroup
Group returns UnorderedGroup
Group.Group_1_0 returns UnorderedGroup
AbstractToken returns UnorderedGroup
AbstractTokenWithCardinality returns UnorderedGroup
AbstractTerminal returns UnorderedGroup
ParenthesizedElement returns UnorderedGroup
Constraint:
(elements+=UnorderedGroup_UnorderedGroup_1_0 elements+=Group+ (cardinality='?'
|
protected void |
sequence_Action(ISerializationContext context,
Action semanticObject)
Contexts:
Action returns Action
Constraint:
(type=TypeRef (feature=ValidID (operator='=' | operator='+='))?)
|
protected void |
sequence_AssignableAlternatives(ISerializationContext context,
Alternatives semanticObject)
Contexts:
AssignableTerminal returns Alternatives
ParenthesizedAssignableElement returns Alternatives
AssignableAlternatives returns Alternatives
AssignableAlternatives.Alternatives_1_0 returns Alternatives
Constraint:
(elements+=AssignableAlternatives_Alternatives_1_0 elements+=AssignableTerminal+)
|
protected void |
sequence_Assignment(ISerializationContext context,
Assignment semanticObject)
Contexts:
Assignment returns Assignment
Constraint:
((predicated?
|
protected void |
sequence_CharacterRange_TerminalToken(ISerializationContext context,
CharacterRange semanticObject)
Contexts:
TerminalAlternatives returns CharacterRange
TerminalAlternatives.Alternatives_1_0 returns CharacterRange
TerminalGroup returns CharacterRange
TerminalGroup.Group_1_0 returns CharacterRange
TerminalToken returns CharacterRange
TerminalTokenElement returns CharacterRange
ParenthesizedTerminalElement returns CharacterRange
Constraint:
(left=CharacterRange_CharacterRange_1_0 right=Keyword (cardinality='?'
|
protected void |
sequence_CharacterRange(ISerializationContext context,
CharacterRange semanticObject)
Contexts:
CharacterRange returns CharacterRange
Constraint:
(left=CharacterRange_CharacterRange_1_0 right=Keyword)
|
protected void |
sequence_Conjunction(ISerializationContext context,
Conjunction semanticObject)
Contexts:
Disjunction returns Conjunction
Disjunction.Disjunction_1_0 returns Conjunction
Conjunction returns Conjunction
Conjunction.Conjunction_1_0 returns Conjunction
Negation returns Conjunction
Atom returns Conjunction
ParenthesizedCondition returns Conjunction
Constraint:
(left=Conjunction_Conjunction_1_0 right=Negation)
|
protected void |
sequence_CrossReference(ISerializationContext context,
CrossReference semanticObject)
Contexts:
AssignableTerminal returns CrossReference
ParenthesizedAssignableElement returns CrossReference
AssignableAlternatives returns CrossReference
AssignableAlternatives.Alternatives_1_0 returns CrossReference
CrossReference returns CrossReference
Constraint:
(type=TypeRef terminal=CrossReferenceableTerminal?)
|
protected void |
sequence_Disjunction(ISerializationContext context,
Disjunction semanticObject)
Contexts:
Disjunction returns Disjunction
Disjunction.Disjunction_1_0 returns Disjunction
Conjunction returns Disjunction
Conjunction.Conjunction_1_0 returns Disjunction
Negation returns Disjunction
Atom returns Disjunction
ParenthesizedCondition returns Disjunction
Constraint:
(left=Disjunction_Disjunction_1_0 right=Conjunction)
|
protected void |
sequence_EnumLiteralDeclaration(ISerializationContext context,
EnumLiteralDeclaration semanticObject)
Contexts:
EnumLiterals returns EnumLiteralDeclaration
EnumLiterals.Alternatives_1_0 returns EnumLiteralDeclaration
EnumLiteralDeclaration returns EnumLiteralDeclaration
Constraint:
(enumLiteral=[EEnumLiteral|ID] literal=Keyword?)
|
protected void |
sequence_EnumLiterals(ISerializationContext context,
Alternatives semanticObject)
Contexts:
EnumLiterals returns Alternatives
Constraint:
(elements+=EnumLiterals_Alternatives_1_0 elements+=EnumLiteralDeclaration+)
|
protected void |
sequence_EnumRule(ISerializationContext context,
EnumRule semanticObject)
Contexts:
AbstractRule returns EnumRule
EnumRule returns EnumRule
Constraint:
(name=ValidID type=TypeRef?
|
protected void |
sequence_EOF_TerminalToken(ISerializationContext context,
EOF semanticObject)
Contexts:
TerminalAlternatives returns EOF
TerminalAlternatives.Alternatives_1_0 returns EOF
TerminalGroup returns EOF
TerminalGroup.Group_1_0 returns EOF
TerminalToken returns EOF
TerminalTokenElement returns EOF
ParenthesizedTerminalElement returns EOF
Constraint:
(cardinality='?'
|
protected void |
sequence_EOF(ISerializationContext context,
EOF semanticObject)
Contexts:
EOF returns EOF
Constraint:
{EOF}
|
protected void |
sequence_GeneratedMetamodel(ISerializationContext context,
GeneratedMetamodel semanticObject)
Contexts:
AbstractMetamodelDeclaration returns GeneratedMetamodel
GeneratedMetamodel returns GeneratedMetamodel
Constraint:
(name=ValidID ePackage=[EPackage|STRING] alias=ValidID?)
|
protected void |
sequence_Grammar(ISerializationContext context,
Grammar semanticObject)
Contexts:
Grammar returns Grammar
Constraint:
(
name=GrammarID
(usedGrammars+=[Grammar|GrammarID] usedGrammars+=[Grammar|GrammarID]*)?
|
protected void |
sequence_Keyword_TerminalToken(ISerializationContext context,
Keyword semanticObject)
Contexts:
TerminalAlternatives returns Keyword
TerminalAlternatives.Alternatives_1_0 returns Keyword
TerminalGroup returns Keyword
TerminalGroup.Group_1_0 returns Keyword
TerminalToken returns Keyword
TerminalTokenElement returns Keyword
ParenthesizedTerminalElement returns Keyword
Constraint:
(value=STRING (cardinality='?'
|
protected void |
sequence_Keyword(ISerializationContext context,
Keyword semanticObject)
Contexts:
Keyword returns Keyword
AssignableTerminal returns Keyword
ParenthesizedAssignableElement returns Keyword
AssignableAlternatives returns Keyword
AssignableAlternatives.Alternatives_1_0 returns Keyword
CrossReferenceableTerminal returns Keyword
CharacterRange returns Keyword
CharacterRange.CharacterRange_1_0 returns Keyword
Constraint:
value=STRING
|
protected void |
sequence_LiteralCondition(ISerializationContext context,
LiteralCondition semanticObject)
Contexts:
LiteralCondition returns LiteralCondition
Disjunction returns LiteralCondition
Disjunction.Disjunction_1_0 returns LiteralCondition
Conjunction returns LiteralCondition
Conjunction.Conjunction_1_0 returns LiteralCondition
Negation returns LiteralCondition
Atom returns LiteralCondition
ParenthesizedCondition returns LiteralCondition
Constraint:
true?
|
protected void |
sequence_NamedArgument(ISerializationContext context,
NamedArgument semanticObject)
Contexts:
NamedArgument returns NamedArgument
Constraint:
((parameter=[Parameter|ID] calledByName?
|
protected void |
sequence_NegatedToken_TerminalToken(ISerializationContext context,
NegatedToken semanticObject)
Contexts:
TerminalAlternatives returns NegatedToken
TerminalAlternatives.Alternatives_1_0 returns NegatedToken
TerminalGroup returns NegatedToken
TerminalGroup.Group_1_0 returns NegatedToken
TerminalToken returns NegatedToken
TerminalTokenElement returns NegatedToken
ParenthesizedTerminalElement returns NegatedToken
Constraint:
(terminal=TerminalTokenElement (cardinality='?'
|
protected void |
sequence_NegatedToken(ISerializationContext context,
NegatedToken semanticObject)
Contexts:
AbstractNegatedToken returns NegatedToken
NegatedToken returns NegatedToken
Constraint:
terminal=TerminalTokenElement
|
protected void |
sequence_Negation(ISerializationContext context,
Negation semanticObject)
Contexts:
Disjunction returns Negation
Disjunction.Disjunction_1_0 returns Negation
Conjunction returns Negation
Conjunction.Conjunction_1_0 returns Negation
Negation returns Negation
Atom returns Negation
ParenthesizedCondition returns Negation
Constraint:
value=Negation
|
protected void |
sequence_Parameter(ISerializationContext context,
Parameter semanticObject)
Contexts:
Parameter returns Parameter
Constraint:
name=ID
|
protected void |
sequence_ParameterReference(ISerializationContext context,
ParameterReference semanticObject)
Contexts:
Disjunction returns ParameterReference
Disjunction.Disjunction_1_0 returns ParameterReference
Conjunction returns ParameterReference
Conjunction.Conjunction_1_0 returns ParameterReference
Negation returns ParameterReference
Atom returns ParameterReference
ParenthesizedCondition returns ParameterReference
ParameterReference returns ParameterReference
Constraint:
parameter=[Parameter|ID]
|
protected void |
sequence_ParserRule_RuleNameAndParams(ISerializationContext context,
ParserRule semanticObject)
Contexts:
AbstractRule returns ParserRule
ParserRule returns ParserRule
Constraint:
(
fragment?
|
protected void |
sequence_PredicatedGroup(ISerializationContext context,
Group semanticObject)
Contexts:
PredicatedGroup returns Group
Constraint:
((predicated?
|
protected void |
sequence_PredicatedKeyword(ISerializationContext context,
Keyword semanticObject)
Contexts:
PredicatedKeyword returns Keyword
Constraint:
((predicated?
|
protected void |
sequence_PredicatedRuleCall(ISerializationContext context,
RuleCall semanticObject)
Contexts:
PredicatedRuleCall returns RuleCall
Constraint:
((predicated?
|
protected void |
sequence_ReferencedMetamodel(ISerializationContext context,
ReferencedMetamodel semanticObject)
Contexts:
AbstractMetamodelDeclaration returns ReferencedMetamodel
ReferencedMetamodel returns ReferencedMetamodel
Constraint:
(ePackage=[EPackage|STRING] alias=ValidID?)
|
protected void |
sequence_RuleCall(ISerializationContext context,
RuleCall semanticObject)
Contexts:
RuleCall returns RuleCall
AssignableTerminal returns RuleCall
ParenthesizedAssignableElement returns RuleCall
AssignableAlternatives returns RuleCall
AssignableAlternatives.Alternatives_1_0 returns RuleCall
CrossReferenceableTerminal returns RuleCall
Constraint:
(rule=[AbstractRule|RuleID] (arguments+=NamedArgument arguments+=NamedArgument*)?)
|
protected void |
sequence_TerminalAlternatives_TerminalToken(ISerializationContext context,
Alternatives semanticObject)
Contexts:
TerminalAlternatives returns Alternatives
TerminalAlternatives.Alternatives_1_0 returns Alternatives
TerminalGroup returns Alternatives
TerminalGroup.Group_1_0 returns Alternatives
TerminalToken returns Alternatives
TerminalTokenElement returns Alternatives
ParenthesizedTerminalElement returns Alternatives
Constraint:
(elements+=TerminalAlternatives_Alternatives_1_0 elements+=TerminalGroup+ (cardinality='?'
|
protected void |
sequence_TerminalGroup_TerminalToken(ISerializationContext context,
Group semanticObject)
Contexts:
TerminalAlternatives returns Group
TerminalAlternatives.Alternatives_1_0 returns Group
TerminalGroup returns Group
TerminalGroup.Group_1_0 returns Group
TerminalToken returns Group
TerminalTokenElement returns Group
ParenthesizedTerminalElement returns Group
Constraint:
(elements+=TerminalGroup_Group_1_0 elements+=TerminalToken+ (cardinality='?'
|
protected void |
sequence_TerminalRule(ISerializationContext context,
TerminalRule semanticObject)
Contexts:
AbstractRule returns TerminalRule
TerminalRule returns TerminalRule
Constraint:
(((fragment?
|
protected void |
sequence_TerminalRuleCall_TerminalToken(ISerializationContext context,
RuleCall semanticObject)
Contexts:
TerminalAlternatives returns RuleCall
TerminalAlternatives.Alternatives_1_0 returns RuleCall
TerminalGroup returns RuleCall
TerminalGroup.Group_1_0 returns RuleCall
TerminalToken returns RuleCall
TerminalTokenElement returns RuleCall
ParenthesizedTerminalElement returns RuleCall
Constraint:
(rule=[AbstractRule|RuleID] (cardinality='?'
|
protected void |
sequence_TerminalRuleCall(ISerializationContext context,
RuleCall semanticObject)
Contexts:
TerminalRuleCall returns RuleCall
Constraint:
rule=[AbstractRule|RuleID]
|
protected void |
sequence_TerminalToken_UntilToken(ISerializationContext context,
UntilToken semanticObject)
Contexts:
TerminalAlternatives returns UntilToken
TerminalAlternatives.Alternatives_1_0 returns UntilToken
TerminalGroup returns UntilToken
TerminalGroup.Group_1_0 returns UntilToken
TerminalToken returns UntilToken
TerminalTokenElement returns UntilToken
ParenthesizedTerminalElement returns UntilToken
Constraint:
(terminal=TerminalTokenElement (cardinality='?'
|
protected void |
sequence_TerminalToken_Wildcard(ISerializationContext context,
Wildcard semanticObject)
Contexts:
TerminalAlternatives returns Wildcard
TerminalAlternatives.Alternatives_1_0 returns Wildcard
TerminalGroup returns Wildcard
TerminalGroup.Group_1_0 returns Wildcard
TerminalToken returns Wildcard
TerminalTokenElement returns Wildcard
ParenthesizedTerminalElement returns Wildcard
Constraint:
(cardinality='?'
|
protected void |
sequence_TypeRef(ISerializationContext context,
TypeRef semanticObject)
Contexts:
TypeRef returns TypeRef
Constraint:
(metamodel=[AbstractMetamodelDeclaration|ID]?
|
protected void |
sequence_UntilToken(ISerializationContext context,
UntilToken semanticObject)
Contexts:
AbstractNegatedToken returns UntilToken
UntilToken returns UntilToken
Constraint:
terminal=TerminalTokenElement
|
protected void |
sequence_Wildcard(ISerializationContext context,
Wildcard semanticObject)
Contexts:
Wildcard returns Wildcard
Constraint:
{Wildcard}
|
void |
sequence(ISerializationContext context,
org.eclipse.emf.ecore.EObject semanticObject) |
init
createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
public void sequence(ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject)
sequence
in class AbstractSemanticSequencer
protected void sequence_AbstractTokenWithCardinality_Action(ISerializationContext context, Action semanticObject)
protected void sequence_AbstractTokenWithCardinality_Alternatives(ISerializationContext context, Alternatives semanticObject)
protected void sequence_AbstractTokenWithCardinality_Assignment(ISerializationContext context, Assignment semanticObject)
protected void sequence_AbstractTokenWithCardinality_ConditionalBranch_Group_PredicatedGroup(ISerializationContext context, Group semanticObject)
protected void sequence_AbstractTokenWithCardinality_Keyword_PredicatedKeyword(ISerializationContext context, Keyword semanticObject)
protected void sequence_AbstractTokenWithCardinality_PredicatedRuleCall_RuleCall(ISerializationContext context, RuleCall semanticObject)
protected void sequence_AbstractTokenWithCardinality_UnorderedGroup(ISerializationContext context, UnorderedGroup semanticObject)
protected void sequence_Action(ISerializationContext context, Action semanticObject)
protected void sequence_AssignableAlternatives(ISerializationContext context, Alternatives semanticObject)
protected void sequence_Assignment(ISerializationContext context, Assignment semanticObject)
protected void sequence_CharacterRange(ISerializationContext context, CharacterRange semanticObject)
protected void sequence_CharacterRange_TerminalToken(ISerializationContext context, CharacterRange semanticObject)
protected void sequence_Conjunction(ISerializationContext context, Conjunction semanticObject)
protected void sequence_CrossReference(ISerializationContext context, CrossReference semanticObject)
protected void sequence_Disjunction(ISerializationContext context, Disjunction semanticObject)
protected void sequence_EOF(ISerializationContext context, EOF semanticObject)
protected void sequence_EOF_TerminalToken(ISerializationContext context, EOF semanticObject)
protected void sequence_EnumLiteralDeclaration(ISerializationContext context, EnumLiteralDeclaration semanticObject)
protected void sequence_EnumLiterals(ISerializationContext context, Alternatives semanticObject)
protected void sequence_EnumRule(ISerializationContext context, EnumRule semanticObject)
protected void sequence_GeneratedMetamodel(ISerializationContext context, GeneratedMetamodel semanticObject)
protected void sequence_Grammar(ISerializationContext context, Grammar semanticObject)
protected void sequence_Keyword(ISerializationContext context, Keyword semanticObject)
protected void sequence_Keyword_TerminalToken(ISerializationContext context, Keyword semanticObject)
protected void sequence_LiteralCondition(ISerializationContext context, LiteralCondition semanticObject)
protected void sequence_NamedArgument(ISerializationContext context, NamedArgument semanticObject)
protected void sequence_NegatedToken(ISerializationContext context, NegatedToken semanticObject)
protected void sequence_NegatedToken_TerminalToken(ISerializationContext context, NegatedToken semanticObject)
protected void sequence_Negation(ISerializationContext context, Negation semanticObject)
protected void sequence_ParameterReference(ISerializationContext context, ParameterReference semanticObject)
protected void sequence_Parameter(ISerializationContext context, Parameter semanticObject)
protected void sequence_ParserRule_RuleNameAndParams(ISerializationContext context, ParserRule semanticObject)
protected void sequence_PredicatedGroup(ISerializationContext context, Group semanticObject)
protected void sequence_PredicatedKeyword(ISerializationContext context, Keyword semanticObject)
protected void sequence_PredicatedRuleCall(ISerializationContext context, RuleCall semanticObject)
protected void sequence_ReferencedMetamodel(ISerializationContext context, ReferencedMetamodel semanticObject)
protected void sequence_RuleCall(ISerializationContext context, RuleCall semanticObject)
protected void sequence_TerminalAlternatives_TerminalToken(ISerializationContext context, Alternatives semanticObject)
protected void sequence_TerminalGroup_TerminalToken(ISerializationContext context, Group semanticObject)
protected void sequence_TerminalRuleCall(ISerializationContext context, RuleCall semanticObject)
protected void sequence_TerminalRuleCall_TerminalToken(ISerializationContext context, RuleCall semanticObject)
protected void sequence_TerminalRule(ISerializationContext context, TerminalRule semanticObject)
protected void sequence_TerminalToken_UntilToken(ISerializationContext context, UntilToken semanticObject)
protected void sequence_TerminalToken_Wildcard(ISerializationContext context, Wildcard semanticObject)
protected void sequence_TypeRef(ISerializationContext context, TypeRef semanticObject)
protected void sequence_UntilToken(ISerializationContext context, UntilToken semanticObject)
protected void sequence_Wildcard(ISerializationContext context, Wildcard semanticObject)