org.eclipse.xtend.core.serializer
Class AbstractXtendSemanticSequencer

java.lang.Object
  extended by org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
      extended by org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
          extended by org.eclipse.xtext.xbase.serializer.AbstractXtypeSemanticSequencer
              extended by org.eclipse.xtext.xbase.serializer.XtypeSemanticSequencer
                  extended by org.eclipse.xtext.xbase.serializer.AbstractXbaseSemanticSequencer
                      extended by org.eclipse.xtext.xbase.serializer.XbaseSemanticSequencer
                          extended by org.eclipse.xtext.xbase.annotations.serializer.AbstractXbaseWithAnnotationsSemanticSequencer
                              extended by org.eclipse.xtext.xbase.annotations.serializer.XbaseWithAnnotationsSemanticSequencer
                                  extended by org.eclipse.xtend.core.serializer.AbstractXtendSemanticSequencer
All Implemented Interfaces:
ISemanticSequencer
Direct Known Subclasses:
XtendSemanticSequencer

public abstract class AbstractXtendSemanticSequencer
extends XbaseWithAnnotationsSemanticSequencer


Field Summary
 
Fields inherited from class org.eclipse.xtext.xbase.serializer.XbaseSemanticSequencer
OPERATOR_NOT_SUPPORTED
 
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
genericSequencer, genericSequencerProvider
 
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
 
Constructor Summary
AbstractXtendSemanticSequencer()
           
 
Method Summary
 void createSequence(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EObject semanticObject)
           
protected  void sequence_Class(org.eclipse.emf.ecore.EObject context, XtendClass semanticObject)
          Constraint: ( annotations+=XAnnotation* abstract?='abstract'? name=ValidID (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)? extends=JvmParameterizedTypeReference? (implements+=JvmParameterizedTypeReference implements+=JvmParameterizedTypeReference*)? members+=Member* )
protected  void sequence_CreateExtensionInfo(org.eclipse.emf.ecore.EObject context, CreateExtensionInfo semanticObject)
          Constraint: (name=ValidID? createExpression=XExpression)
protected  void sequence_File(org.eclipse.emf.ecore.EObject context, XtendFile semanticObject)
          Constraint: (package=QualifiedName? imports+=Import* xtendClasses+=Class*)
protected  void sequence_Import(org.eclipse.emf.ecore.EObject context, XtendImport semanticObject)
          Constraint: ( (static?='static' extension?='extension'? importedType=[JvmType|QualifiedName]) | importedType=[JvmType|QualifiedName] | importedNamespace=QualifiedNameWithWildCard )
protected  void sequence_InternalRichString(org.eclipse.emf.ecore.EObject context, RichString semanticObject)
          Constraint: (expressions+=RichStringLiteralInbetween (expressions+=RichStringPart? expressions+=RichStringLiteralInbetween)*)
protected  void sequence_Member_XtendConstructor_2_2_0_XtendField_2_0_0_XtendFunction_2_1_0(org.eclipse.emf.ecore.EObject context, XtendMember semanticObject)
          Constraint: annotations+=XAnnotation+
protected  void sequence_Member(org.eclipse.emf.ecore.EObject context, XtendConstructor semanticObject)
          Constraint: ( ( ( ( ( ( ( (annotationInfo=Member_XtendConstructor_2_2_0 visibility=Visibility? (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)?) | (annotationInfo=Member_XtendConstructor_2_2_0 (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)?) ) (parameters+=Parameter parameters+=Parameter*)? ) | (annotationInfo=Member_XtendConstructor_2_2_0 (parameters+=Parameter parameters+=Parameter*)?) ) (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)? ) | (annotationInfo=Member_XtendConstructor_2_2_0 (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)?) ) expression=XBlockExpression ) | (annotationInfo=Member_XtendConstructor_2_2_0 expression=XBlockExpression) )
protected  void sequence_Member(org.eclipse.emf.ecore.EObject context, XtendField semanticObject)
          Constraint: ( ( ( annotationInfo=Member_XtendField_2_0_0 visibility=Visibility? ( (extension?='extension' final?='val'? type=JvmTypeReference name=ValidID?) | (static?='static'? (type=JvmTypeReference | (final?='val'? type=JvmTypeReference?)) name=ValidID) ) ) | ( annotationInfo=Member_XtendField_2_0_0 ( (extension?='extension' final?='val'? type=JvmTypeReference name=ValidID?) | (static?='static'? (type=JvmTypeReference | (final?='val'? type=JvmTypeReference?)) name=ValidID) ) ) ) initialValue=XExpression? )
protected  void sequence_Member(org.eclipse.emf.ecore.EObject context, XtendFunction semanticObject)
          Constraint: ( annotationInfo=Member_XtendFunction_2_1_0 override?='override'? visibility=Visibility? static?='static'? dispatch?='dispatch'? (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)? ( (returnType=JvmTypeReference createExtensionInfo=CreateExtensionInfo name=ValidID) | (returnType=JvmTypeReference name=ValidID) | (createExtensionInfo=CreateExtensionInfo name=ValidID) | name=ValidID ) (parameters+=Parameter parameters+=Parameter*)? (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)? (expression=XBlockExpression | expression=RichString)? )
protected  void sequence_Parameter(org.eclipse.emf.ecore.EObject context, XtendParameter semanticObject)
          Constraint: (annotations+=XAnnotation* parameterType=JvmTypeReference varArg?='...'? name=ValidID)
protected  void sequence_RichString(org.eclipse.emf.ecore.EObject context, RichString semanticObject)
          Constraint: ( expressions+=RichStringLiteral | ( expressions+=RichStringLiteralStart expressions+=RichStringPart? (expressions+=RichStringLiteralInbetween expressions+=RichStringPart?)* expressions+=RichStringLiteralEnd ) )
protected  void sequence_RichStringElseIf(org.eclipse.emf.ecore.EObject context, RichStringElseIf semanticObject)
          Constraint: (if=XExpression then=InternalRichString)
protected  void sequence_RichStringForLoop(org.eclipse.emf.ecore.EObject context, RichStringForLoop semanticObject)
          Constraint: ( declaredParam=JvmFormalParameter forExpression=XExpression before=XExpression? separator=XExpression? after=XExpression? eachExpression=InternalRichString )
protected  void sequence_RichStringIf(org.eclipse.emf.ecore.EObject context, RichStringIf semanticObject)
          Constraint: (if=XExpression then=InternalRichString elseIfs+=RichStringElseIf* else=InternalRichString?)
protected  void sequence_RichStringLiteral(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
          Constraint: value=RICH_TEXT
protected  void sequence_RichStringLiteralEnd(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
          Constraint: (value=RICH_TEXT_END | value=COMMENT_RICH_TEXT_END)
protected  void sequence_RichStringLiteralInbetween(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
          Constraint: (value=RICH_TEXT_INBETWEEN | value=COMMENT_RICH_TEXT_INBETWEEN)
protected  void sequence_RichStringLiteralStart(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
          Constraint: value=RICH_TEXT_START
protected  void sequence_SimpleStringLiteral(org.eclipse.emf.ecore.EObject context, XStringLiteral semanticObject)
          Constraint: value=STRING
 
Methods inherited from class org.eclipse.xtext.xbase.annotations.serializer.AbstractXbaseWithAnnotationsSemanticSequencer
sequence_XAnnotation, sequence_XAnnotationElementValuePair, sequence_XAnnotationElementValueStringConcatenation, sequence_XAnnotationValueArray, sequence_XAnnotationValueFieldReference
 
Methods inherited from class org.eclipse.xtext.xbase.serializer.XbaseSemanticSequencer
getValidOperator, isBuilderSyntax, isBuilderSyntax, isXShortClosure, isXShortClosure, isXShortClosureAndBuilderSyntax, sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression, sequence_XAdditiveExpression, sequence_XAssignment, sequence_XConstructorCall, sequence_XExpression, sequence_XFeatureCall, sequence_XMemberFeatureCall
 
Methods inherited from class org.eclipse.xtext.xbase.serializer.AbstractXbaseSemanticSequencer
sequence_FullJvmFormalParameter, sequence_JvmFormalParameter, sequence_XAssignment_XMemberFeatureCall, sequence_XBlockExpression, sequence_XBooleanLiteral, sequence_XCasePart, sequence_XCastedExpression, sequence_XCatchClause, sequence_XClosure, sequence_XDoWhileExpression, sequence_XExpressionInClosure, sequence_XForLoopExpression, sequence_XIfExpression, sequence_XNullLiteral, sequence_XNumberLiteral, sequence_XRelationalExpression, sequence_XReturnExpression, sequence_XShortClosure, sequence_XStringLiteral, sequence_XSwitchExpression, sequence_XThrowExpression, sequence_XTryCatchFinallyExpression, sequence_XTypeLiteral, sequence_XUnaryOperation, sequence_XVariableDeclaration, sequence_XWhileExpression
 
Methods inherited from class org.eclipse.xtext.xbase.serializer.AbstractXtypeSemanticSequencer
sequence_JvmLowerBound, sequence_JvmParameterizedTypeReference, sequence_JvmTypeParameter, sequence_JvmTypeReference, sequence_JvmUpperBound, sequence_JvmUpperBoundAnded, sequence_JvmWildcardTypeReference, sequence_XFunctionTypeRef
 
Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
init
 
Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
createNodeProvider, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXtendSemanticSequencer

public AbstractXtendSemanticSequencer()
Method Detail

createSequence

public void createSequence(org.eclipse.emf.ecore.EObject context,
                           org.eclipse.emf.ecore.EObject semanticObject)
Specified by:
createSequence in interface ISemanticSequencer
Overrides:
createSequence in class AbstractXbaseWithAnnotationsSemanticSequencer

sequence_Class

protected void sequence_Class(org.eclipse.emf.ecore.EObject context,
                              XtendClass semanticObject)
Constraint: ( annotations+=XAnnotation* abstract?='abstract'? name=ValidID (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)? extends=JvmParameterizedTypeReference? (implements+=JvmParameterizedTypeReference implements+=JvmParameterizedTypeReference*)? members+=Member* )


sequence_CreateExtensionInfo

protected void sequence_CreateExtensionInfo(org.eclipse.emf.ecore.EObject context,
                                            CreateExtensionInfo semanticObject)
Constraint: (name=ValidID? createExpression=XExpression)


sequence_File

protected void sequence_File(org.eclipse.emf.ecore.EObject context,
                             XtendFile semanticObject)
Constraint: (package=QualifiedName? imports+=Import* xtendClasses+=Class*)


sequence_Import

protected void sequence_Import(org.eclipse.emf.ecore.EObject context,
                               XtendImport semanticObject)
Constraint: ( (static?='static' extension?='extension'? importedType=[JvmType|QualifiedName]) | importedType=[JvmType|QualifiedName] | importedNamespace=QualifiedNameWithWildCard )


sequence_InternalRichString

protected void sequence_InternalRichString(org.eclipse.emf.ecore.EObject context,
                                           RichString semanticObject)
Constraint: (expressions+=RichStringLiteralInbetween (expressions+=RichStringPart? expressions+=RichStringLiteralInbetween)*)


sequence_Member

protected void sequence_Member(org.eclipse.emf.ecore.EObject context,
                               XtendConstructor semanticObject)
Constraint: ( ( ( ( ( ( ( (annotationInfo=Member_XtendConstructor_2_2_0 visibility=Visibility? (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)?) | (annotationInfo=Member_XtendConstructor_2_2_0 (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)?) ) (parameters+=Parameter parameters+=Parameter*)? ) | (annotationInfo=Member_XtendConstructor_2_2_0 (parameters+=Parameter parameters+=Parameter*)?) ) (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)? ) | (annotationInfo=Member_XtendConstructor_2_2_0 (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)?) ) expression=XBlockExpression ) | (annotationInfo=Member_XtendConstructor_2_2_0 expression=XBlockExpression) )


sequence_Member_XtendConstructor_2_2_0_XtendField_2_0_0_XtendFunction_2_1_0

protected void sequence_Member_XtendConstructor_2_2_0_XtendField_2_0_0_XtendFunction_2_1_0(org.eclipse.emf.ecore.EObject context,
                                                                                           XtendMember semanticObject)
Constraint: annotations+=XAnnotation+


sequence_Member

protected void sequence_Member(org.eclipse.emf.ecore.EObject context,
                               XtendField semanticObject)
Constraint: ( ( ( annotationInfo=Member_XtendField_2_0_0 visibility=Visibility? ( (extension?='extension' final?='val'? type=JvmTypeReference name=ValidID?) | (static?='static'? (type=JvmTypeReference | (final?='val'? type=JvmTypeReference?)) name=ValidID) ) ) | ( annotationInfo=Member_XtendField_2_0_0 ( (extension?='extension' final?='val'? type=JvmTypeReference name=ValidID?) | (static?='static'? (type=JvmTypeReference | (final?='val'? type=JvmTypeReference?)) name=ValidID) ) ) ) initialValue=XExpression? )


sequence_Member

protected void sequence_Member(org.eclipse.emf.ecore.EObject context,
                               XtendFunction semanticObject)
Constraint: ( annotationInfo=Member_XtendFunction_2_1_0 override?='override'? visibility=Visibility? static?='static'? dispatch?='dispatch'? (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)? ( (returnType=JvmTypeReference createExtensionInfo=CreateExtensionInfo name=ValidID) | (returnType=JvmTypeReference name=ValidID) | (createExtensionInfo=CreateExtensionInfo name=ValidID) | name=ValidID ) (parameters+=Parameter parameters+=Parameter*)? (exceptions+=JvmTypeReference exceptions+=JvmTypeReference*)? (expression=XBlockExpression | expression=RichString)? )


sequence_Parameter

protected void sequence_Parameter(org.eclipse.emf.ecore.EObject context,
                                  XtendParameter semanticObject)
Constraint: (annotations+=XAnnotation* parameterType=JvmTypeReference varArg?='...'? name=ValidID)


sequence_RichStringElseIf

protected void sequence_RichStringElseIf(org.eclipse.emf.ecore.EObject context,
                                         RichStringElseIf semanticObject)
Constraint: (if=XExpression then=InternalRichString)


sequence_RichStringForLoop

protected void sequence_RichStringForLoop(org.eclipse.emf.ecore.EObject context,
                                          RichStringForLoop semanticObject)
Constraint: ( declaredParam=JvmFormalParameter forExpression=XExpression before=XExpression? separator=XExpression? after=XExpression? eachExpression=InternalRichString )


sequence_RichStringIf

protected void sequence_RichStringIf(org.eclipse.emf.ecore.EObject context,
                                     RichStringIf semanticObject)
Constraint: (if=XExpression then=InternalRichString elseIfs+=RichStringElseIf* else=InternalRichString?)


sequence_RichStringLiteralEnd

protected void sequence_RichStringLiteralEnd(org.eclipse.emf.ecore.EObject context,
                                             RichStringLiteral semanticObject)
Constraint: (value=RICH_TEXT_END | value=COMMENT_RICH_TEXT_END)


sequence_RichStringLiteralInbetween

protected void sequence_RichStringLiteralInbetween(org.eclipse.emf.ecore.EObject context,
                                                   RichStringLiteral semanticObject)
Constraint: (value=RICH_TEXT_INBETWEEN | value=COMMENT_RICH_TEXT_INBETWEEN)


sequence_RichStringLiteralStart

protected void sequence_RichStringLiteralStart(org.eclipse.emf.ecore.EObject context,
                                               RichStringLiteral semanticObject)
Constraint: value=RICH_TEXT_START


sequence_RichStringLiteral

protected void sequence_RichStringLiteral(org.eclipse.emf.ecore.EObject context,
                                          RichStringLiteral semanticObject)
Constraint: value=RICH_TEXT


sequence_RichString

protected void sequence_RichString(org.eclipse.emf.ecore.EObject context,
                                   RichString semanticObject)
Constraint: ( expressions+=RichStringLiteral | ( expressions+=RichStringLiteralStart expressions+=RichStringPart? (expressions+=RichStringLiteralInbetween expressions+=RichStringPart?)* expressions+=RichStringLiteralEnd ) )


sequence_SimpleStringLiteral

protected void sequence_SimpleStringLiteral(org.eclipse.emf.ecore.EObject context,
                                            XStringLiteral semanticObject)
Constraint: value=STRING