PTArrayAccess
This type is a class for model objects.
Array access. e.g. x[3]. Unlike AST, the entire expression of type x[3][4] will be done in one expression rather than having a separate ArrayAccess for each dimension. This is just a simplification. This can only be used if it is a simple array access where it is of the form {expression}[expression][expression].
Package: instantiation
Supertype: PTExpression
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Attributes Summary array : PTExpression @ The expression representing the array to access. indexes : PTExpression + The expressions representing the indexes of the access.
Attribute Details
array - The expression representing the array to access.
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
indexes - The expressions representing the indexes of the access.
Reference Type: PTExpression +
Containment: true
Container: false
Required: true
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 1
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006