Class StoexSemanticSequencer

  • All Implemented Interfaces:
    org.eclipse.xtext.serializer.sequencer.ISemanticSequencer

    public class StoexSemanticSequencer
    extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
    • Field Summary

      • 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, EObject semanticObject)  
      protected void sequence_boolAndExpr_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context, BooleanOperatorExpression semanticObject)
      Contexts: expression returns BooleanOperatorExpression ifelseExpr returns BooleanOperatorExpression ifelseExpr.IfElseExpression_1_0 returns BooleanOperatorExpression boolAndExpr returns BooleanOperatorExpression boolAndExpr.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: ( (left=boolAndExpr_BooleanOperatorExpression_1_0 operation=andoperation right=boolOrExpr) | (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr) )
      protected void sequence_BooleanExpression_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context, BooleanOperatorExpression semanticObject)
      Contexts: BooleanExpression returns BooleanOperatorExpression BooleanExpression.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: ( (left=BooleanExpression_BooleanOperatorExpression_1_0 operation=BooleanOperations right=boolOrExpr) | (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr) )
      protected void sequence_BoolLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, BoolLiteral semanticObject)
      Contexts: expression returns BoolLiteral ifelseExpr returns BoolLiteral ifelseExpr.IfElseExpression_1_0 returns BoolLiteral BooleanExpression returns BoolLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns BoolLiteral boolAndExpr returns BoolLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns BoolLiteral boolOrExpr returns BoolLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns BoolLiteral compareExpr returns BoolLiteral compareExpr.CompareExpression_1_0 returns BoolLiteral sumExpr returns BoolLiteral sumExpr.TermExpression_1_0 returns BoolLiteral prodExpr returns BoolLiteral prodExpr.ProductExpression_1_0 returns BoolLiteral powExpr returns BoolLiteral powExpr.PowerExpression_1_0 returns BoolLiteral unaryExpr returns BoolLiteral atom returns BoolLiteral BoolLiteral returns BoolLiteral Constraint: value=BOOLEAN_KEYWORDS
      protected void sequence_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context, BooleanOperatorExpression semanticObject)
      Contexts: boolOrExpr returns BooleanOperatorExpression boolOrExpr.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr)
      protected void sequence_boolsample​(org.eclipse.xtext.serializer.ISerializationContext context, BoolSample semanticObject)
      Contexts: boolsample returns BoolSample Constraint: (value=BOOLEAN_KEYWORDS probability=NUMBER)
      protected void sequence_BoxedPDF​(org.eclipse.xtext.serializer.ISerializationContext context, BoxedPDF semanticObject)
      Contexts: definition returns BoxedPDF ProbabilityDensityFunction returns BoxedPDF BoxedPDF returns BoxedPDF Constraint: samples+=real_pdf_sample+
      protected void sequence_compareExpr​(org.eclipse.xtext.serializer.ISerializationContext context, CompareExpression semanticObject)
      Contexts: expression returns CompareExpression ifelseExpr returns CompareExpression ifelseExpr.IfElseExpression_1_0 returns CompareExpression BooleanExpression returns CompareExpression BooleanExpression.BooleanOperatorExpression_1_0 returns CompareExpression boolAndExpr returns CompareExpression boolAndExpr.BooleanOperatorExpression_1_0 returns CompareExpression boolOrExpr returns CompareExpression boolOrExpr.BooleanOperatorExpression_1_0 returns CompareExpression compareExpr returns CompareExpression Constraint: (left=compareExpr_CompareExpression_1_0 operation=CompareOperations right=sumExpr)
      protected void sequence_DoubleLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, DoubleLiteral semanticObject)
      Contexts: expression returns DoubleLiteral ifelseExpr returns DoubleLiteral ifelseExpr.IfElseExpression_1_0 returns DoubleLiteral BooleanExpression returns DoubleLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns DoubleLiteral boolAndExpr returns DoubleLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns DoubleLiteral boolOrExpr returns DoubleLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns DoubleLiteral compareExpr returns DoubleLiteral compareExpr.CompareExpression_1_0 returns DoubleLiteral sumExpr returns DoubleLiteral sumExpr.TermExpression_1_0 returns DoubleLiteral prodExpr returns DoubleLiteral prodExpr.ProductExpression_1_0 returns DoubleLiteral powExpr returns DoubleLiteral powExpr.PowerExpression_1_0 returns DoubleLiteral unaryExpr returns DoubleLiteral atom returns DoubleLiteral DoubleLiteral returns DoubleLiteral Constraint: value=DOUBLE
      protected void sequence_FunctionLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, FunctionLiteral semanticObject)
      Contexts: expression returns FunctionLiteral ifelseExpr returns FunctionLiteral ifelseExpr.IfElseExpression_1_0 returns FunctionLiteral BooleanExpression returns FunctionLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns FunctionLiteral boolAndExpr returns FunctionLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns FunctionLiteral boolOrExpr returns FunctionLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns FunctionLiteral compareExpr returns FunctionLiteral compareExpr.CompareExpression_1_0 returns FunctionLiteral sumExpr returns FunctionLiteral sumExpr.TermExpression_1_0 returns FunctionLiteral prodExpr returns FunctionLiteral prodExpr.ProductExpression_1_0 returns FunctionLiteral powExpr returns FunctionLiteral powExpr.PowerExpression_1_0 returns FunctionLiteral unaryExpr returns FunctionLiteral atom returns FunctionLiteral FunctionLiteral returns FunctionLiteral Constraint: (id=ID (parameters_FunctionLiteral+=boolAndExpr parameters_FunctionLiteral+=boolAndExpr*)?)
      protected void sequence_ifelseExpr​(org.eclipse.xtext.serializer.ISerializationContext context, IfElseExpression semanticObject)
      Contexts: expression returns IfElseExpression ifelseExpr returns IfElseExpression Constraint: (conditionExpression=ifelseExpr_IfElseExpression_1_0 ifExpression=boolAndExpr elseExpression=boolAndExpr)
      protected void sequence_IntLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, IntLiteral semanticObject)
      Contexts: expression returns IntLiteral ifelseExpr returns IntLiteral ifelseExpr.IfElseExpression_1_0 returns IntLiteral BooleanExpression returns IntLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns IntLiteral boolAndExpr returns IntLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns IntLiteral boolOrExpr returns IntLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns IntLiteral compareExpr returns IntLiteral compareExpr.CompareExpression_1_0 returns IntLiteral sumExpr returns IntLiteral sumExpr.TermExpression_1_0 returns IntLiteral prodExpr returns IntLiteral prodExpr.ProductExpression_1_0 returns IntLiteral powExpr returns IntLiteral powExpr.PowerExpression_1_0 returns IntLiteral unaryExpr returns IntLiteral atom returns IntLiteral IntLiteral returns IntLiteral Constraint: value=DECINT
      protected void sequence_NamespaceReference​(org.eclipse.xtext.serializer.ISerializationContext context, NamespaceReference semanticObject)
      Contexts: AbstractNamedReference returns NamespaceReference NamespaceReference returns NamespaceReference Constraint: (referenceName=ID innerReference_NamespaceReference=AbstractNamedReference)
      protected void sequence_NegativeExpression​(org.eclipse.xtext.serializer.ISerializationContext context, NegativeExpression semanticObject)
      Contexts: expression returns NegativeExpression ifelseExpr returns NegativeExpression ifelseExpr.IfElseExpression_1_0 returns NegativeExpression BooleanExpression returns NegativeExpression BooleanExpression.BooleanOperatorExpression_1_0 returns NegativeExpression boolAndExpr returns NegativeExpression boolAndExpr.BooleanOperatorExpression_1_0 returns NegativeExpression boolOrExpr returns NegativeExpression boolOrExpr.BooleanOperatorExpression_1_0 returns NegativeExpression compareExpr returns NegativeExpression compareExpr.CompareExpression_1_0 returns NegativeExpression sumExpr returns NegativeExpression sumExpr.TermExpression_1_0 returns NegativeExpression prodExpr returns NegativeExpression prodExpr.ProductExpression_1_0 returns NegativeExpression powExpr returns NegativeExpression powExpr.PowerExpression_1_0 returns NegativeExpression unaryExpr returns NegativeExpression NegativeExpression returns NegativeExpression Constraint: inner=unaryExpr
      protected void sequence_NotExpression​(org.eclipse.xtext.serializer.ISerializationContext context, NotExpression semanticObject)
      Contexts: expression returns NotExpression ifelseExpr returns NotExpression ifelseExpr.IfElseExpression_1_0 returns NotExpression BooleanExpression returns NotExpression BooleanExpression.BooleanOperatorExpression_1_0 returns NotExpression boolAndExpr returns NotExpression boolAndExpr.BooleanOperatorExpression_1_0 returns NotExpression boolOrExpr returns NotExpression boolOrExpr.BooleanOperatorExpression_1_0 returns NotExpression compareExpr returns NotExpression compareExpr.CompareExpression_1_0 returns NotExpression sumExpr returns NotExpression sumExpr.TermExpression_1_0 returns NotExpression prodExpr returns NotExpression prodExpr.ProductExpression_1_0 returns NotExpression powExpr returns NotExpression powExpr.PowerExpression_1_0 returns NotExpression unaryExpr returns NotExpression NotExpression returns NotExpression Constraint: inner=unaryExpr
      protected void sequence_numeric_int_sample​(org.eclipse.xtext.serializer.ISerializationContext context, IntSample semanticObject)
      Contexts: numeric_int_sample returns IntSample Constraint: (value=SIGNED_INT probability=NUMBER)
      protected void sequence_numeric_real_sample​(org.eclipse.xtext.serializer.ISerializationContext context, DoubleSample semanticObject)
      Contexts: numeric_real_sample returns DoubleSample Constraint: (value=SIGNED_NUMBER probability=NUMBER)
      protected void sequence_Parenthesis​(org.eclipse.xtext.serializer.ISerializationContext context, Parenthesis semanticObject)
      Contexts: expression returns Parenthesis ifelseExpr returns Parenthesis ifelseExpr.IfElseExpression_1_0 returns Parenthesis BooleanExpression returns Parenthesis BooleanExpression.BooleanOperatorExpression_1_0 returns Parenthesis boolAndExpr returns Parenthesis boolAndExpr.BooleanOperatorExpression_1_0 returns Parenthesis boolOrExpr returns Parenthesis boolOrExpr.BooleanOperatorExpression_1_0 returns Parenthesis compareExpr returns Parenthesis compareExpr.CompareExpression_1_0 returns Parenthesis sumExpr returns Parenthesis sumExpr.TermExpression_1_0 returns Parenthesis prodExpr returns Parenthesis prodExpr.ProductExpression_1_0 returns Parenthesis powExpr returns Parenthesis powExpr.PowerExpression_1_0 returns Parenthesis unaryExpr returns Parenthesis atom returns Parenthesis Parenthesis returns Parenthesis Constraint: innerExpression=ifelseExpr
      protected void sequence_powExpr​(org.eclipse.xtext.serializer.ISerializationContext context, PowerExpression semanticObject)
      Contexts: expression returns PowerExpression ifelseExpr returns PowerExpression ifelseExpr.IfElseExpression_1_0 returns PowerExpression BooleanExpression returns PowerExpression BooleanExpression.BooleanOperatorExpression_1_0 returns PowerExpression boolAndExpr returns PowerExpression boolAndExpr.BooleanOperatorExpression_1_0 returns PowerExpression boolOrExpr returns PowerExpression boolOrExpr.BooleanOperatorExpression_1_0 returns PowerExpression compareExpr returns PowerExpression compareExpr.CompareExpression_1_0 returns PowerExpression sumExpr returns PowerExpression sumExpr.TermExpression_1_0 returns PowerExpression prodExpr returns PowerExpression prodExpr.ProductExpression_1_0 returns PowerExpression powExpr returns PowerExpression Constraint: (base=powExpr_PowerExpression_1_0 exponent=unaryExpr)
      protected void sequence_ProbabilityFunctionLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, ProbabilityFunctionLiteral semanticObject)
      Contexts: expression returns ProbabilityFunctionLiteral ifelseExpr returns ProbabilityFunctionLiteral ifelseExpr.IfElseExpression_1_0 returns ProbabilityFunctionLiteral BooleanExpression returns ProbabilityFunctionLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral boolAndExpr returns ProbabilityFunctionLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral boolOrExpr returns ProbabilityFunctionLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral compareExpr returns ProbabilityFunctionLiteral compareExpr.CompareExpression_1_0 returns ProbabilityFunctionLiteral sumExpr returns ProbabilityFunctionLiteral sumExpr.TermExpression_1_0 returns ProbabilityFunctionLiteral prodExpr returns ProbabilityFunctionLiteral prodExpr.ProductExpression_1_0 returns ProbabilityFunctionLiteral powExpr returns ProbabilityFunctionLiteral powExpr.PowerExpression_1_0 returns ProbabilityFunctionLiteral unaryExpr returns ProbabilityFunctionLiteral atom returns ProbabilityFunctionLiteral ProbabilityFunctionLiteral returns ProbabilityFunctionLiteral Constraint: function_ProbabilityFunctionLiteral=definition
      protected void sequence_ProbabilityMassFunction​(org.eclipse.xtext.serializer.ISerializationContext context, ProbabilityMassFunction semanticObject)
      Contexts: definition returns ProbabilityMassFunction ProbabilityMassFunction returns ProbabilityMassFunction Constraint: ( samples+=numeric_int_sample+ | samples+=numeric_real_sample+ | (orderedDomain?
      protected void sequence_prodExpr​(org.eclipse.xtext.serializer.ISerializationContext context, ProductExpression semanticObject)
      Contexts: expression returns ProductExpression ifelseExpr returns ProductExpression ifelseExpr.IfElseExpression_1_0 returns ProductExpression BooleanExpression returns ProductExpression BooleanExpression.BooleanOperatorExpression_1_0 returns ProductExpression boolAndExpr returns ProductExpression boolAndExpr.BooleanOperatorExpression_1_0 returns ProductExpression boolOrExpr returns ProductExpression boolOrExpr.BooleanOperatorExpression_1_0 returns ProductExpression compareExpr returns ProductExpression compareExpr.CompareExpression_1_0 returns ProductExpression sumExpr returns ProductExpression sumExpr.TermExpression_1_0 returns ProductExpression prodExpr returns ProductExpression prodExpr.ProductExpression_1_0 returns ProductExpression Constraint: (left=prodExpr_ProductExpression_1_0 operation=ProductOperations right=powExpr)
      protected void sequence_real_pdf_sample​(org.eclipse.xtext.serializer.ISerializationContext context, ContinuousSample semanticObject)
      Contexts: real_pdf_sample returns ContinuousSample Constraint: (value=SIGNED_NUMBER probability=NUMBER)
      protected void sequence_StringLiteral​(org.eclipse.xtext.serializer.ISerializationContext context, StringLiteral semanticObject)
      Contexts: expression returns StringLiteral ifelseExpr returns StringLiteral ifelseExpr.IfElseExpression_1_0 returns StringLiteral BooleanExpression returns StringLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns StringLiteral boolAndExpr returns StringLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns StringLiteral boolOrExpr returns StringLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns StringLiteral compareExpr returns StringLiteral compareExpr.CompareExpression_1_0 returns StringLiteral sumExpr returns StringLiteral sumExpr.TermExpression_1_0 returns StringLiteral prodExpr returns StringLiteral prodExpr.ProductExpression_1_0 returns StringLiteral powExpr returns StringLiteral powExpr.PowerExpression_1_0 returns StringLiteral unaryExpr returns StringLiteral atom returns StringLiteral StringLiteral returns StringLiteral Constraint: value=STRING
      protected void sequence_stringsample​(org.eclipse.xtext.serializer.ISerializationContext context, StringSample semanticObject)
      Contexts: stringsample returns StringSample Constraint: (value=STRING probability=NUMBER)
      protected void sequence_sumExpr​(org.eclipse.xtext.serializer.ISerializationContext context, TermExpression semanticObject)
      Contexts: expression returns TermExpression ifelseExpr returns TermExpression ifelseExpr.IfElseExpression_1_0 returns TermExpression BooleanExpression returns TermExpression BooleanExpression.BooleanOperatorExpression_1_0 returns TermExpression boolAndExpr returns TermExpression boolAndExpr.BooleanOperatorExpression_1_0 returns TermExpression boolOrExpr returns TermExpression boolOrExpr.BooleanOperatorExpression_1_0 returns TermExpression compareExpr returns TermExpression compareExpr.CompareExpression_1_0 returns TermExpression sumExpr returns TermExpression sumExpr.TermExpression_1_0 returns TermExpression Constraint: (left=sumExpr_TermExpression_1_0 operation=TermOperations right=prodExpr)
      protected void sequence_Variable​(org.eclipse.xtext.serializer.ISerializationContext context, Variable semanticObject)
      Contexts: expression returns Variable ifelseExpr returns Variable ifelseExpr.IfElseExpression_1_0 returns Variable BooleanExpression returns Variable BooleanExpression.BooleanOperatorExpression_1_0 returns Variable boolAndExpr returns Variable boolAndExpr.BooleanOperatorExpression_1_0 returns Variable boolOrExpr returns Variable boolOrExpr.BooleanOperatorExpression_1_0 returns Variable compareExpr returns Variable compareExpr.CompareExpression_1_0 returns Variable sumExpr returns Variable sumExpr.TermExpression_1_0 returns Variable prodExpr returns Variable prodExpr.ProductExpression_1_0 returns Variable powExpr returns Variable powExpr.PowerExpression_1_0 returns Variable unaryExpr returns Variable atom returns Variable Variable returns Variable Constraint: id_Variable=AbstractNamedReference
      protected void sequence_VariableReference​(org.eclipse.xtext.serializer.ISerializationContext context, VariableReference semanticObject)
      Contexts: AbstractNamedReference returns VariableReference VariableReference returns VariableReference Constraint: referenceName=ID
      • 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

      • StoexSemanticSequencer

        public StoexSemanticSequencer()
    • Method Detail

      • sequence

        public void sequence​(org.eclipse.xtext.serializer.ISerializationContext context,
                             EObject semanticObject)
        Overrides:
        sequence in class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
      • sequence_BoolLiteral

        protected void sequence_BoolLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                            BoolLiteral semanticObject)
        Contexts: expression returns BoolLiteral ifelseExpr returns BoolLiteral ifelseExpr.IfElseExpression_1_0 returns BoolLiteral BooleanExpression returns BoolLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns BoolLiteral boolAndExpr returns BoolLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns BoolLiteral boolOrExpr returns BoolLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns BoolLiteral compareExpr returns BoolLiteral compareExpr.CompareExpression_1_0 returns BoolLiteral sumExpr returns BoolLiteral sumExpr.TermExpression_1_0 returns BoolLiteral prodExpr returns BoolLiteral prodExpr.ProductExpression_1_0 returns BoolLiteral powExpr returns BoolLiteral powExpr.PowerExpression_1_0 returns BoolLiteral unaryExpr returns BoolLiteral atom returns BoolLiteral BoolLiteral returns BoolLiteral Constraint: value=BOOLEAN_KEYWORDS
      • sequence_BooleanExpression_boolOrExpr

        protected void sequence_BooleanExpression_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                             BooleanOperatorExpression semanticObject)
        Contexts: BooleanExpression returns BooleanOperatorExpression BooleanExpression.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: ( (left=BooleanExpression_BooleanOperatorExpression_1_0 operation=BooleanOperations right=boolOrExpr) | (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr) )
      • sequence_BoxedPDF

        protected void sequence_BoxedPDF​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         BoxedPDF semanticObject)
        Contexts: definition returns BoxedPDF ProbabilityDensityFunction returns BoxedPDF BoxedPDF returns BoxedPDF Constraint: samples+=real_pdf_sample+
      • sequence_DoubleLiteral

        protected void sequence_DoubleLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                              DoubleLiteral semanticObject)
        Contexts: expression returns DoubleLiteral ifelseExpr returns DoubleLiteral ifelseExpr.IfElseExpression_1_0 returns DoubleLiteral BooleanExpression returns DoubleLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns DoubleLiteral boolAndExpr returns DoubleLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns DoubleLiteral boolOrExpr returns DoubleLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns DoubleLiteral compareExpr returns DoubleLiteral compareExpr.CompareExpression_1_0 returns DoubleLiteral sumExpr returns DoubleLiteral sumExpr.TermExpression_1_0 returns DoubleLiteral prodExpr returns DoubleLiteral prodExpr.ProductExpression_1_0 returns DoubleLiteral powExpr returns DoubleLiteral powExpr.PowerExpression_1_0 returns DoubleLiteral unaryExpr returns DoubleLiteral atom returns DoubleLiteral DoubleLiteral returns DoubleLiteral Constraint: value=DOUBLE
      • sequence_FunctionLiteral

        protected void sequence_FunctionLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                FunctionLiteral semanticObject)
        Contexts: expression returns FunctionLiteral ifelseExpr returns FunctionLiteral ifelseExpr.IfElseExpression_1_0 returns FunctionLiteral BooleanExpression returns FunctionLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns FunctionLiteral boolAndExpr returns FunctionLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns FunctionLiteral boolOrExpr returns FunctionLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns FunctionLiteral compareExpr returns FunctionLiteral compareExpr.CompareExpression_1_0 returns FunctionLiteral sumExpr returns FunctionLiteral sumExpr.TermExpression_1_0 returns FunctionLiteral prodExpr returns FunctionLiteral prodExpr.ProductExpression_1_0 returns FunctionLiteral powExpr returns FunctionLiteral powExpr.PowerExpression_1_0 returns FunctionLiteral unaryExpr returns FunctionLiteral atom returns FunctionLiteral FunctionLiteral returns FunctionLiteral Constraint: (id=ID (parameters_FunctionLiteral+=boolAndExpr parameters_FunctionLiteral+=boolAndExpr*)?)
      • sequence_IntLiteral

        protected void sequence_IntLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           IntLiteral semanticObject)
        Contexts: expression returns IntLiteral ifelseExpr returns IntLiteral ifelseExpr.IfElseExpression_1_0 returns IntLiteral BooleanExpression returns IntLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns IntLiteral boolAndExpr returns IntLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns IntLiteral boolOrExpr returns IntLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns IntLiteral compareExpr returns IntLiteral compareExpr.CompareExpression_1_0 returns IntLiteral sumExpr returns IntLiteral sumExpr.TermExpression_1_0 returns IntLiteral prodExpr returns IntLiteral prodExpr.ProductExpression_1_0 returns IntLiteral powExpr returns IntLiteral powExpr.PowerExpression_1_0 returns IntLiteral unaryExpr returns IntLiteral atom returns IntLiteral IntLiteral returns IntLiteral Constraint: value=DECINT
      • sequence_NamespaceReference

        protected void sequence_NamespaceReference​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   NamespaceReference semanticObject)
        Contexts: AbstractNamedReference returns NamespaceReference NamespaceReference returns NamespaceReference Constraint: (referenceName=ID innerReference_NamespaceReference=AbstractNamedReference)
      • sequence_NegativeExpression

        protected void sequence_NegativeExpression​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   NegativeExpression semanticObject)
        Contexts: expression returns NegativeExpression ifelseExpr returns NegativeExpression ifelseExpr.IfElseExpression_1_0 returns NegativeExpression BooleanExpression returns NegativeExpression BooleanExpression.BooleanOperatorExpression_1_0 returns NegativeExpression boolAndExpr returns NegativeExpression boolAndExpr.BooleanOperatorExpression_1_0 returns NegativeExpression boolOrExpr returns NegativeExpression boolOrExpr.BooleanOperatorExpression_1_0 returns NegativeExpression compareExpr returns NegativeExpression compareExpr.CompareExpression_1_0 returns NegativeExpression sumExpr returns NegativeExpression sumExpr.TermExpression_1_0 returns NegativeExpression prodExpr returns NegativeExpression prodExpr.ProductExpression_1_0 returns NegativeExpression powExpr returns NegativeExpression powExpr.PowerExpression_1_0 returns NegativeExpression unaryExpr returns NegativeExpression NegativeExpression returns NegativeExpression Constraint: inner=unaryExpr
      • sequence_NotExpression

        protected void sequence_NotExpression​(org.eclipse.xtext.serializer.ISerializationContext context,
                                              NotExpression semanticObject)
        Contexts: expression returns NotExpression ifelseExpr returns NotExpression ifelseExpr.IfElseExpression_1_0 returns NotExpression BooleanExpression returns NotExpression BooleanExpression.BooleanOperatorExpression_1_0 returns NotExpression boolAndExpr returns NotExpression boolAndExpr.BooleanOperatorExpression_1_0 returns NotExpression boolOrExpr returns NotExpression boolOrExpr.BooleanOperatorExpression_1_0 returns NotExpression compareExpr returns NotExpression compareExpr.CompareExpression_1_0 returns NotExpression sumExpr returns NotExpression sumExpr.TermExpression_1_0 returns NotExpression prodExpr returns NotExpression prodExpr.ProductExpression_1_0 returns NotExpression powExpr returns NotExpression powExpr.PowerExpression_1_0 returns NotExpression unaryExpr returns NotExpression NotExpression returns NotExpression Constraint: inner=unaryExpr
      • sequence_Parenthesis

        protected void sequence_Parenthesis​(org.eclipse.xtext.serializer.ISerializationContext context,
                                            Parenthesis semanticObject)
        Contexts: expression returns Parenthesis ifelseExpr returns Parenthesis ifelseExpr.IfElseExpression_1_0 returns Parenthesis BooleanExpression returns Parenthesis BooleanExpression.BooleanOperatorExpression_1_0 returns Parenthesis boolAndExpr returns Parenthesis boolAndExpr.BooleanOperatorExpression_1_0 returns Parenthesis boolOrExpr returns Parenthesis boolOrExpr.BooleanOperatorExpression_1_0 returns Parenthesis compareExpr returns Parenthesis compareExpr.CompareExpression_1_0 returns Parenthesis sumExpr returns Parenthesis sumExpr.TermExpression_1_0 returns Parenthesis prodExpr returns Parenthesis prodExpr.ProductExpression_1_0 returns Parenthesis powExpr returns Parenthesis powExpr.PowerExpression_1_0 returns Parenthesis unaryExpr returns Parenthesis atom returns Parenthesis Parenthesis returns Parenthesis Constraint: innerExpression=ifelseExpr
      • sequence_ProbabilityFunctionLiteral

        protected void sequence_ProbabilityFunctionLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                           ProbabilityFunctionLiteral semanticObject)
        Contexts: expression returns ProbabilityFunctionLiteral ifelseExpr returns ProbabilityFunctionLiteral ifelseExpr.IfElseExpression_1_0 returns ProbabilityFunctionLiteral BooleanExpression returns ProbabilityFunctionLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral boolAndExpr returns ProbabilityFunctionLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral boolOrExpr returns ProbabilityFunctionLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns ProbabilityFunctionLiteral compareExpr returns ProbabilityFunctionLiteral compareExpr.CompareExpression_1_0 returns ProbabilityFunctionLiteral sumExpr returns ProbabilityFunctionLiteral sumExpr.TermExpression_1_0 returns ProbabilityFunctionLiteral prodExpr returns ProbabilityFunctionLiteral prodExpr.ProductExpression_1_0 returns ProbabilityFunctionLiteral powExpr returns ProbabilityFunctionLiteral powExpr.PowerExpression_1_0 returns ProbabilityFunctionLiteral unaryExpr returns ProbabilityFunctionLiteral atom returns ProbabilityFunctionLiteral ProbabilityFunctionLiteral returns ProbabilityFunctionLiteral Constraint: function_ProbabilityFunctionLiteral=definition
      • sequence_ProbabilityMassFunction

        protected void sequence_ProbabilityMassFunction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                        ProbabilityMassFunction semanticObject)
        Contexts: definition returns ProbabilityMassFunction ProbabilityMassFunction returns ProbabilityMassFunction Constraint: ( samples+=numeric_int_sample+ | samples+=numeric_real_sample+ | (orderedDomain?='ordered'? samples+=stringsample+) | (orderedDomain?='ordered'? samples+=boolsample+) )
      • sequence_StringLiteral

        protected void sequence_StringLiteral​(org.eclipse.xtext.serializer.ISerializationContext context,
                                              StringLiteral semanticObject)
        Contexts: expression returns StringLiteral ifelseExpr returns StringLiteral ifelseExpr.IfElseExpression_1_0 returns StringLiteral BooleanExpression returns StringLiteral BooleanExpression.BooleanOperatorExpression_1_0 returns StringLiteral boolAndExpr returns StringLiteral boolAndExpr.BooleanOperatorExpression_1_0 returns StringLiteral boolOrExpr returns StringLiteral boolOrExpr.BooleanOperatorExpression_1_0 returns StringLiteral compareExpr returns StringLiteral compareExpr.CompareExpression_1_0 returns StringLiteral sumExpr returns StringLiteral sumExpr.TermExpression_1_0 returns StringLiteral prodExpr returns StringLiteral prodExpr.ProductExpression_1_0 returns StringLiteral powExpr returns StringLiteral powExpr.PowerExpression_1_0 returns StringLiteral unaryExpr returns StringLiteral atom returns StringLiteral StringLiteral returns StringLiteral Constraint: value=STRING
      • sequence_VariableReference

        protected void sequence_VariableReference​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  VariableReference semanticObject)
        Contexts: AbstractNamedReference returns VariableReference VariableReference returns VariableReference Constraint: referenceName=ID
      • sequence_Variable

        protected void sequence_Variable​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         Variable semanticObject)
        Contexts: expression returns Variable ifelseExpr returns Variable ifelseExpr.IfElseExpression_1_0 returns Variable BooleanExpression returns Variable BooleanExpression.BooleanOperatorExpression_1_0 returns Variable boolAndExpr returns Variable boolAndExpr.BooleanOperatorExpression_1_0 returns Variable boolOrExpr returns Variable boolOrExpr.BooleanOperatorExpression_1_0 returns Variable compareExpr returns Variable compareExpr.CompareExpression_1_0 returns Variable sumExpr returns Variable sumExpr.TermExpression_1_0 returns Variable prodExpr returns Variable prodExpr.ProductExpression_1_0 returns Variable powExpr returns Variable powExpr.PowerExpression_1_0 returns Variable unaryExpr returns Variable atom returns Variable Variable returns Variable Constraint: id_Variable=AbstractNamedReference
      • sequence_boolAndExpr_boolOrExpr

        protected void sequence_boolAndExpr_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                       BooleanOperatorExpression semanticObject)
        Contexts: expression returns BooleanOperatorExpression ifelseExpr returns BooleanOperatorExpression ifelseExpr.IfElseExpression_1_0 returns BooleanOperatorExpression boolAndExpr returns BooleanOperatorExpression boolAndExpr.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: ( (left=boolAndExpr_BooleanOperatorExpression_1_0 operation=andoperation right=boolOrExpr) | (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr) )
      • sequence_boolOrExpr

        protected void sequence_boolOrExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           BooleanOperatorExpression semanticObject)
        Contexts: boolOrExpr returns BooleanOperatorExpression boolOrExpr.BooleanOperatorExpression_1_0 returns BooleanOperatorExpression Constraint: (left=boolOrExpr_BooleanOperatorExpression_1_0 operation=oroperations right=compareExpr)
      • sequence_boolsample

        protected void sequence_boolsample​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           BoolSample semanticObject)
        Contexts: boolsample returns BoolSample Constraint: (value=BOOLEAN_KEYWORDS probability=NUMBER)
      • sequence_compareExpr

        protected void sequence_compareExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                            CompareExpression semanticObject)
        Contexts: expression returns CompareExpression ifelseExpr returns CompareExpression ifelseExpr.IfElseExpression_1_0 returns CompareExpression BooleanExpression returns CompareExpression BooleanExpression.BooleanOperatorExpression_1_0 returns CompareExpression boolAndExpr returns CompareExpression boolAndExpr.BooleanOperatorExpression_1_0 returns CompareExpression boolOrExpr returns CompareExpression boolOrExpr.BooleanOperatorExpression_1_0 returns CompareExpression compareExpr returns CompareExpression Constraint: (left=compareExpr_CompareExpression_1_0 operation=CompareOperations right=sumExpr)
      • sequence_ifelseExpr

        protected void sequence_ifelseExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           IfElseExpression semanticObject)
        Contexts: expression returns IfElseExpression ifelseExpr returns IfElseExpression Constraint: (conditionExpression=ifelseExpr_IfElseExpression_1_0 ifExpression=boolAndExpr elseExpression=boolAndExpr)
      • sequence_numeric_int_sample

        protected void sequence_numeric_int_sample​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   IntSample semanticObject)
        Contexts: numeric_int_sample returns IntSample Constraint: (value=SIGNED_INT probability=NUMBER)
      • sequence_numeric_real_sample

        protected void sequence_numeric_real_sample​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                    DoubleSample semanticObject)
        Contexts: numeric_real_sample returns DoubleSample Constraint: (value=SIGNED_NUMBER probability=NUMBER)
      • sequence_powExpr

        protected void sequence_powExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                        PowerExpression semanticObject)
        Contexts: expression returns PowerExpression ifelseExpr returns PowerExpression ifelseExpr.IfElseExpression_1_0 returns PowerExpression BooleanExpression returns PowerExpression BooleanExpression.BooleanOperatorExpression_1_0 returns PowerExpression boolAndExpr returns PowerExpression boolAndExpr.BooleanOperatorExpression_1_0 returns PowerExpression boolOrExpr returns PowerExpression boolOrExpr.BooleanOperatorExpression_1_0 returns PowerExpression compareExpr returns PowerExpression compareExpr.CompareExpression_1_0 returns PowerExpression sumExpr returns PowerExpression sumExpr.TermExpression_1_0 returns PowerExpression prodExpr returns PowerExpression prodExpr.ProductExpression_1_0 returns PowerExpression powExpr returns PowerExpression Constraint: (base=powExpr_PowerExpression_1_0 exponent=unaryExpr)
      • sequence_prodExpr

        protected void sequence_prodExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         ProductExpression semanticObject)
        Contexts: expression returns ProductExpression ifelseExpr returns ProductExpression ifelseExpr.IfElseExpression_1_0 returns ProductExpression BooleanExpression returns ProductExpression BooleanExpression.BooleanOperatorExpression_1_0 returns ProductExpression boolAndExpr returns ProductExpression boolAndExpr.BooleanOperatorExpression_1_0 returns ProductExpression boolOrExpr returns ProductExpression boolOrExpr.BooleanOperatorExpression_1_0 returns ProductExpression compareExpr returns ProductExpression compareExpr.CompareExpression_1_0 returns ProductExpression sumExpr returns ProductExpression sumExpr.TermExpression_1_0 returns ProductExpression prodExpr returns ProductExpression prodExpr.ProductExpression_1_0 returns ProductExpression Constraint: (left=prodExpr_ProductExpression_1_0 operation=ProductOperations right=powExpr)
      • sequence_real_pdf_sample

        protected void sequence_real_pdf_sample​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                ContinuousSample semanticObject)
        Contexts: real_pdf_sample returns ContinuousSample Constraint: (value=SIGNED_NUMBER probability=NUMBER)
      • sequence_stringsample

        protected void sequence_stringsample​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             StringSample semanticObject)
        Contexts: stringsample returns StringSample Constraint: (value=STRING probability=NUMBER)
      • sequence_sumExpr

        protected void sequence_sumExpr​(org.eclipse.xtext.serializer.ISerializationContext context,
                                        TermExpression semanticObject)
        Contexts: expression returns TermExpression ifelseExpr returns TermExpression ifelseExpr.IfElseExpression_1_0 returns TermExpression BooleanExpression returns TermExpression BooleanExpression.BooleanOperatorExpression_1_0 returns TermExpression boolAndExpr returns TermExpression boolAndExpr.BooleanOperatorExpression_1_0 returns TermExpression boolOrExpr returns TermExpression boolOrExpr.BooleanOperatorExpression_1_0 returns TermExpression compareExpr returns TermExpression compareExpr.CompareExpression_1_0 returns TermExpression sumExpr returns TermExpression sumExpr.TermExpression_1_0 returns TermExpression Constraint: (left=sumExpr_TermExpression_1_0 operation=TermOperations right=prodExpr)