Class AbstractScriptSemanticSequencer

  • All Implemented Interfaces:
    org.eclipse.xtext.serializer.sequencer.ISemanticSequencer
    Direct Known Subclasses:
    ScriptSemanticSequencer

    public abstract class AbstractScriptSemanticSequencer
    extends org.eclipse.xtext.xbase.serializer.XbaseSemanticSequencer
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sequence​(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject)  
      protected void sequence_IDUnit​(org.eclipse.xtext.serializer.ISerializationContext context, IDUnit semanticObject)
      Contexts: AbstractUnit returns IDUnit IDUnit returns IDUnit Constraint: value=ID
      protected void sequence_QuantityLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, QuantityLiteral semanticObject)
      Contexts: XLiteral returns QuantityLiteral QuantityLiteral returns QuantityLiteral XExpression returns QuantityLiteral XAssignment returns QuantityLiteral XAssignment.XBinaryOperation_1_1_0_0_0 returns QuantityLiteral XOrExpression returns QuantityLiteral XOrExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XAndExpression returns QuantityLiteral XAndExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XEqualityExpression returns QuantityLiteral XEqualityExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XRelationalExpression returns QuantityLiteral XRelationalExpression.XInstanceOfExpression_1_0_0_0_0 returns QuantityLiteral XRelationalExpression.XBinaryOperation_1_1_0_0_0 returns QuantityLiteral XOtherOperatorExpression returns QuantityLiteral XOtherOperatorExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XAdditiveExpression returns QuantityLiteral XAdditiveExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XMultiplicativeExpression returns QuantityLiteral XMultiplicativeExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XUnaryOperation returns QuantityLiteral XCastedExpression returns QuantityLiteral XCastedExpression.XCastedExpression_1_0_0_0 returns QuantityLiteral XPostfixOperation returns QuantityLiteral XPostfixOperation.XPostfixOperation_1_0_0 returns QuantityLiteral XMemberFeatureCall returns QuantityLiteral XMemberFeatureCall.XAssignment_1_0_0_0_0 returns QuantityLiteral XMemberFeatureCall.XMemberFeatureCall_1_1_0_0_0 returns QuantityLiteral XPrimaryExpression returns QuantityLiteral XParenthesizedExpression returns QuantityLiteral XExpressionOrVarDeclaration returns QuantityLiteral Constraint: (value=Number unit=AbstractUnit)
      protected void sequence_Script​(org.eclipse.xtext.serializer.ISerializationContext context, Script semanticObject)
      Contexts: Script returns Script Constraint: expressions+=XExpressionOrVarDeclaration*
      protected void sequence_SpecificUnit​(org.eclipse.xtext.serializer.ISerializationContext context, SpecificUnit semanticObject)
      Contexts: AbstractUnit returns SpecificUnit SpecificUnit returns SpecificUnit Constraint: value=COMMON_UNIT_SYMBOLS
      protected void sequence_StringUnit​(org.eclipse.xtext.serializer.ISerializationContext context, StringUnit semanticObject)
      Contexts: AbstractUnit returns StringUnit StringUnit returns StringUnit Constraint: value=STRING
      • Methods inherited from class org.eclipse.xtext.xbase.serializer.XbaseSemanticSequencer

        getValidOperator, isBuilderSyntax, isBuilderSyntax, isXShortClosure, isXShortClosure, isXShortClosureAndBuilderSyntax, sequence_XAdditiveExpression, sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression, sequence_XAssignment, sequence_XConstructorCall, sequence_XExpression, sequence_XFeatureCall, sequence_XMemberFeatureCall
      • Methods inherited from class org.eclipse.xtext.xbase.serializer.AbstractXbaseSemanticSequencer

        sequence_FullJvmFormalParameter, sequence_FullJvmFormalParameter, sequence_JvmFormalParameter, sequence_JvmFormalParameter, sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression, sequence_XAssignment_XMemberFeatureCall, sequence_XAssignment_XMemberFeatureCall, sequence_XBasicForLoopExpression, sequence_XBasicForLoopExpression, sequence_XBlockExpression, sequence_XBlockExpression, sequence_XBooleanLiteral, sequence_XBooleanLiteral, sequence_XCasePart, sequence_XCasePart, sequence_XCastedExpression, sequence_XCastedExpression, sequence_XCatchClause, sequence_XCatchClause, sequence_XClosure, sequence_XClosure, sequence_XConstructorCall, sequence_XDoWhileExpression, sequence_XDoWhileExpression, sequence_XExpressionInClosure, sequence_XExpressionInClosure, sequence_XFeatureCall, sequence_XForLoopExpression, sequence_XForLoopExpression, sequence_XIfExpression, sequence_XIfExpression, sequence_XListLiteral, sequence_XListLiteral, sequence_XMemberFeatureCall, sequence_XNullLiteral, sequence_XNullLiteral, sequence_XNumberLiteral, sequence_XNumberLiteral, sequence_XPostfixOperation, sequence_XPostfixOperation, sequence_XRelationalExpression, sequence_XRelationalExpression, sequence_XReturnExpression, sequence_XReturnExpression, sequence_XSetLiteral, sequence_XSetLiteral, sequence_XShortClosure, sequence_XShortClosure, sequence_XStringLiteral, sequence_XStringLiteral, sequence_XSwitchExpression, sequence_XSwitchExpression, sequence_XSynchronizedExpression, sequence_XSynchronizedExpression, sequence_XThrowExpression, sequence_XThrowExpression, sequence_XTryCatchFinallyExpression, sequence_XTryCatchFinallyExpression, sequence_XTypeLiteral, sequence_XTypeLiteral, sequence_XUnaryOperation, sequence_XUnaryOperation, sequence_XVariableDeclaration, sequence_XVariableDeclaration, sequence_XWhileExpression, sequence_XWhileExpression
      • Methods inherited from class org.eclipse.xtext.xbase.serializer.AbstractXtypeSemanticSequencer

        sequence_JvmLowerBound, sequence_JvmLowerBound, sequence_JvmLowerBoundAnded, sequence_JvmLowerBoundAnded, sequence_JvmParameterizedTypeReference, sequence_JvmParameterizedTypeReference, sequence_JvmParameterizedTypeReference, sequence_JvmParameterizedTypeReference, sequence_JvmParameterizedTypeReference_JvmInnerTypeReference_1_4_0_0_0, sequence_JvmParameterizedTypeReference_JvmInnerTypeReference_1_4_0_0_0, sequence_JvmTypeParameter, sequence_JvmTypeParameter, sequence_JvmTypeReference, sequence_JvmTypeReference, sequence_JvmUpperBound, sequence_JvmUpperBound, sequence_JvmUpperBoundAnded, sequence_JvmUpperBoundAnded, sequence_JvmWildcardTypeReference, sequence_JvmWildcardTypeReference, sequence_XFunctionTypeRef, sequence_XFunctionTypeRef, sequence_XImportDeclaration, sequence_XImportDeclaration, sequence_XImportSection, sequence_XImportSection
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        init
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
    • Constructor Detail

      • AbstractScriptSemanticSequencer

        public AbstractScriptSemanticSequencer()
    • Method Detail

      • sequence

        public void sequence​(org.eclipse.xtext.serializer.ISerializationContext context,
                             org.eclipse.emf.ecore.EObject semanticObject)
        Overrides:
        sequence in class org.eclipse.xtext.xbase.serializer.AbstractXbaseSemanticSequencer
      • sequence_IDUnit

        protected void sequence_IDUnit​(org.eclipse.xtext.serializer.ISerializationContext context,
                                       IDUnit semanticObject)
        Contexts: AbstractUnit returns IDUnit IDUnit returns IDUnit Constraint: value=ID
      • sequence_QuantityLiteral

        protected void sequence_QuantityLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                QuantityLiteral semanticObject)
        Contexts: XLiteral returns QuantityLiteral QuantityLiteral returns QuantityLiteral XExpression returns QuantityLiteral XAssignment returns QuantityLiteral XAssignment.XBinaryOperation_1_1_0_0_0 returns QuantityLiteral XOrExpression returns QuantityLiteral XOrExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XAndExpression returns QuantityLiteral XAndExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XEqualityExpression returns QuantityLiteral XEqualityExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XRelationalExpression returns QuantityLiteral XRelationalExpression.XInstanceOfExpression_1_0_0_0_0 returns QuantityLiteral XRelationalExpression.XBinaryOperation_1_1_0_0_0 returns QuantityLiteral XOtherOperatorExpression returns QuantityLiteral XOtherOperatorExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XAdditiveExpression returns QuantityLiteral XAdditiveExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XMultiplicativeExpression returns QuantityLiteral XMultiplicativeExpression.XBinaryOperation_1_0_0_0 returns QuantityLiteral XUnaryOperation returns QuantityLiteral XCastedExpression returns QuantityLiteral XCastedExpression.XCastedExpression_1_0_0_0 returns QuantityLiteral XPostfixOperation returns QuantityLiteral XPostfixOperation.XPostfixOperation_1_0_0 returns QuantityLiteral XMemberFeatureCall returns QuantityLiteral XMemberFeatureCall.XAssignment_1_0_0_0_0 returns QuantityLiteral XMemberFeatureCall.XMemberFeatureCall_1_1_0_0_0 returns QuantityLiteral XPrimaryExpression returns QuantityLiteral XParenthesizedExpression returns QuantityLiteral XExpressionOrVarDeclaration returns QuantityLiteral Constraint: (value=Number unit=AbstractUnit)
      • sequence_Script

        protected void sequence_Script​(org.eclipse.xtext.serializer.ISerializationContext context,
                                       Script semanticObject)
        Contexts: Script returns Script Constraint: expressions+=XExpressionOrVarDeclaration*
      • sequence_SpecificUnit

        protected void sequence_SpecificUnit​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             SpecificUnit semanticObject)
        Contexts: AbstractUnit returns SpecificUnit SpecificUnit returns SpecificUnit Constraint: value=COMMON_UNIT_SYMBOLS
      • sequence_StringUnit

        protected void sequence_StringUnit​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           StringUnit semanticObject)
        Contexts: AbstractUnit returns StringUnit StringUnit returns StringUnit Constraint: value=STRING