PTInfixExpression

This type is a class for model objects.

An expression with an operator that has two operands, e.g. 3 + 4.

Package: instantiation
Supertype: PTExpression

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *



Attributes Summary
operator : PTInfixOperator The operator, e.g. +
leftOperand : PTExpression @ * No description is available *
rightOperand : PTExpression @ The right expression. i.e. 4 of "3 + 4"
extendedOperands : PTExpression * Used when there are a series of infix operations of the same operator, e.g. 1 + 2 + 3 + 4. 1 and 2 will go into left and right, while {3, 4} will go into the extended operands.



Attribute Details

operator  -  The operator, e.g. +
    Data Type: PTInfixOperator
    Default value:  unspecified
    Allowed values:
        0 - TIMES
        1 - DIVIDE
        2 - REMAINDER
        3 - PLUS
        4 - MINUS
        5 - LEFT_SHIFT
        6 - RIGHT_SHIFT_SIGNED
        7 - RIGHT_SHIFT_UNSIGNED
        8 - LESS
        9 - GREATER
        10 - LESS_EQUALS
        11 - GREATER_EQUALS
        12 - EQUALS
        13 - NOT_EQUALS
        14 - XOR
        15 - AND
        16 - OR
        17 - CONDITIONAL_AND
        18 - CONDITIONAL_OR
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

leftOperand  -  * No description is available *
    Reference Type: PTExpression @
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

rightOperand  -  The right expression. i.e. 4 of "3 + 4"
    Reference Type: PTExpression @
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

extendedOperands  -  Used when there are a series of infix operations of the same operator, e.g. 1 + 2 + 3 + 4. 1 and 2 will go into left and right, while {3, 4} will go into the extended operands.
    Reference Type: PTExpression *
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006