Class XbaseSemanticSequencer

    • Field Detail

      • OPERATOR_NOT_SUPPORTED

        public static final java.lang.String OPERATOR_NOT_SUPPORTED
        See Also:
        Constant Field Values
    • Constructor Detail

      • XbaseSemanticSequencer

        public XbaseSemanticSequencer()
    • Method Detail

      • sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression

        protected void sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                                                                                                                                                          XBinaryOperation operation)
        Constraint: ( (leftOperand=XAdditiveExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAdd] rightOperand=XMultiplicativeExpression) | (leftOperand=XMultiplicativeExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpMulti] rightOperand=XUnaryOperation) | (leftOperand=XOtherOperatorExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOther] rightOperand=XAdditiveExpression) | (leftOperand=XRelationalExpression_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpCompare] rightOperand=XOtherOperatorExpression) | (leftOperand=XEqualityExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpEquality] rightOperand=XRelationalExpression) | (leftOperand=XAndExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAnd] rightOperand=XEqualityExpression) | (leftOperand=XOrExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOr] rightOperand=XAndExpression) | (leftOperand=XAssignment_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpMultiAssign] rightOperand=XAssignment) )
        Overrides:
        sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression in class AbstractXbaseSemanticSequencer
      • getValidOperator

        protected java.lang.String getValidOperator​(org.eclipse.emf.ecore.EObject semanticObject,
                                                    org.eclipse.xtext.RuleCall ruleCall,
                                                    java.lang.Iterable<java.lang.String> names,
                                                    org.eclipse.xtext.nodemodel.ICompositeNode node)
      • sequence_XFeatureCall

        protected void sequence_XFeatureCall​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             XFeatureCall featureCall)
        Constraint: ( declaringType=[JvmDeclaredType|StaticQualifier]? (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)? feature=[JvmIdentifiableElement|IdOrSuper] (explicitOperationCall?='(' (featureCallArguments+=XShortClosure | (featureCallArguments+=XExpression featureCallArguments+=XExpression*))?)? ) Features: feature[1, 1] typeArguments[0, *] featureCallArguments[1, *] EXCLUDE_IF_UNSET explicitOperationCall explicitOperationCall[0, 1] MANDATORY_IF_SET featureCallArguments EXCLUDE_IF_UNSET featureCallArguments MANDATORY_IF_SET featureCallArguments MANDATORY_IF_SET featureCallArguments declaringType[0, 1]
        Overrides:
        sequence_XFeatureCall in class AbstractXbaseSemanticSequencer
      • isXShortClosure

        protected boolean isXShortClosure​(org.eclipse.emf.ecore.EObject semanticObject,
                                          org.eclipse.emf.ecore.EReference reference,
                                          org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider nodes)
      • isXShortClosure

        protected boolean isXShortClosure​(java.util.List<?> values,
                                          org.eclipse.emf.ecore.EReference reference,
                                          org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider nodes)
      • isBuilderSyntax

        protected boolean isBuilderSyntax​(org.eclipse.emf.ecore.EObject expression,
                                          org.eclipse.emf.ecore.EReference reference,
                                          boolean explicitOperationCall,
                                          org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider nodes)
      • isBuilderSyntax

        protected boolean isBuilderSyntax​(java.util.List<?> values,
                                          org.eclipse.emf.ecore.EReference reference,
                                          org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider nodes)
      • isXShortClosureAndBuilderSyntax

        protected boolean isXShortClosureAndBuilderSyntax​(java.util.List<?> values,
                                                          org.eclipse.emf.ecore.EReference reference,
                                                          org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider nodes)
      • sequence_XMemberFeatureCall

        protected void sequence_XMemberFeatureCall​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   XMemberFeatureCall featureCall)
        Constraint: ( memberCallTarget=XMemberFeatureCall_XMemberFeatureCall_1_1_0_0_0 (nullSafe?='?.' | spreading?='*.')? (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)? feature=[JvmIdentifiableElement|ID] (explicitOperationCall?='(' (memberCallArguments+=XShortClosure | (memberCallArguments+=XExpression memberCallArguments+=XExpression*))?)? ) Features: feature[1, 1] typeArguments[0, *] memberCallTarget[1, 1] memberCallArguments[1, *] EXCLUDE_IF_UNSET explicitOperationCall explicitOperationCall[0, 1] MANDATORY_IF_SET memberCallArguments EXCLUDE_IF_UNSET memberCallArguments MANDATORY_IF_SET memberCallArguments MANDATORY_IF_SET memberCallArguments spreading[0, 1] EXCLUDE_IF_SET nullSafe nullSafe[0, 1] EXCLUDE_IF_SET spreading
        Overrides:
        sequence_XMemberFeatureCall in class AbstractXbaseSemanticSequencer
      • sequence_XConstructorCall

        protected void sequence_XConstructorCall​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                 XConstructorCall constructorCall)
        Constraint: ( constructor=[JvmConstructor|QualifiedName] (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)? (arguments+=XShortClosure | (arguments+=XExpression arguments+=XExpression*))? arguments+=XClosure? )
        Overrides:
        sequence_XConstructorCall in class AbstractXbaseSemanticSequencer
      • sequence_XExpression

        @Deprecated
        protected void sequence_XExpression​(org.eclipse.emf.ecore.EObject context,
                                            XNullLiteral semanticObject)
        Deprecated.
        This is for backwards compatibility < 2.3RC2 due to change in the naming strategy for sequencer methods
      • sequence_XAdditiveExpression

        @Deprecated
        protected void sequence_XAdditiveExpression​(org.eclipse.emf.ecore.EObject context,
                                                    XBinaryOperation operation)
        Deprecated.
        This is for backwards compatibility < 2.3RC3 due to change in the naming strategy for sequencer methods
      • sequence_XAssignment

        @Deprecated
        protected void sequence_XAssignment​(org.eclipse.emf.ecore.EObject context,
                                            XAssignment semanticObject)
        Deprecated.
        This is for backwards compatibility < 2.3RC3 due to change in the naming strategy for sequencer methods