ArrayCtorCallValue
Overview
An array constructor value; this value type is used to create a new instance of a simple or multi-dimensional array. This value only creates a new instance, the values passed are the parameters for the array constructor (if any), they give the high-bounds for this particular array. Use ArrayValue to instantiate arrays based on their values.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Values
- Ancestry: Value | ParameterizedValue | ArrayCtorCallValue
constructor
Creates a new instance of this class
constructor
ArrayCtorCallValue()
init()
ArrayCtorCallValue()
Sub New()
constructor (IArrayType, array of Value)
Creates a new instance of this class
constructor(anArray: IArrayType; params aParameters: array of Value)
ArrayCtorCallValue(IArrayType anArray, params Value[] aParameters)
init(_ anArray: IArrayType, _ aParameters: Value...)
ArrayCtorCallValue(IArrayType anArray, Value[]... aParameters)
Sub New(anArray As IArrayType, ParamArray aParameters As Value())
Parameters:
- anArray: Type of the array to create
- aParameters: Values to pass to the constructor
Array
The array type to initialize
property Array: IArrayType read write;
IArrayType Array { get; set; }
var Array: IArrayType { get{} set{} }
IArrayType Array { __get; __set; }
Property Array() As IArrayType
Binary (declared in Value)
Creates a binary value
method Binary(aOp: BinaryOperator; aOther: Value): Value
Value Binary(BinaryOperator aOp, Value aOther)
func Binary(_ aOp: BinaryOperator, _ aOther: Value) -> Value
Value Binary(BinaryOperator aOp, Value aOther)
Function Binary(aOp As BinaryOperator, aOther As Value) As Value
Parameters:
- aOp: Operator
- aOther: Right side value
creates an identifier value
Parameters:
- aName: Name of the value
creates an identifier value
Parameters:
- aName: Name of the value
- aArgs: Generic arguments.
Kind
Value kind; use this for a fast way of determining what kind of sub class a Value object is
property Kind: ValueKind read;
ValueKind Kind { get; }
var Kind: ValueKind { get{} }
ValueKind Kind { __get; }
ReadOnly Property Kind() As ValueKind
Length (declared in Value)
Creates a length value
method Length: Value
Value Length()
func Length() -> Value
Value Length()
Function Length() As Value
NotNil (declared in Value)
Creates a not nil value
method NotNil: Value
Value NotNil()
func NotNil() -> Value
Value NotNil()
Function NotNil() As Value
Parameters (declared in ParameterizedValue)
The parameters for this value
property Parameters: List<Value> read;
List<Value> Parameters { get; }
var Parameters: List<Value> { get{} }
List<Value> Parameters { __get; }
ReadOnly Property Parameters() As List<Value>
Position (declared in Value)
Position this value is defined at (if not set, it will be at the aspects position)
property Position: IPosition read write;
IPosition Position { get; set; }
var Position: IPosition { get{} set{} }
IPosition Position { __get; __set; }
Property Position() As IPosition
Creates a call value
Parameters:
- aName: Method name
- aGP: Generic parameters to pass
- aArgs: Arguments for this call
Creates a call value
Parameters:
- aName: Method name
- aArgs: Arguments for this call
SubArray (declared in Value)
Creates an array/property element access value
Parameters:
- aArgs: Arguments for element access
ToString
Returns the string value of this value
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary (declared in Value)
Creates a unary value
method Unary(aOp: UnaryOperator): Value
Value Unary(UnaryOperator aOp)
func Unary(_ aOp: UnaryOperator) -> Value
Value Unary(UnaryOperator aOp)
Function Unary(aOp As UnaryOperator) As Value
Parameters:
- aOp: Operator
Array
The array type to initialize
property Array: IArrayType read write;
IArrayType Array { get; set; }
var Array: IArrayType { get{} set{} }
IArrayType Array { __get; __set; }
Property Array() As IArrayType
Kind
Value kind; use this for a fast way of determining what kind of sub class a Value object is
property Kind: ValueKind read;
ValueKind Kind { get; }
var Kind: ValueKind { get{} }
ValueKind Kind { __get; }
ReadOnly Property Kind() As ValueKind
Parameters (declared in ParameterizedValue)
The parameters for this value
property Parameters: List<Value> read;
List<Value> Parameters { get; }
var Parameters: List<Value> { get{} }
List<Value> Parameters { __get; }
ReadOnly Property Parameters() As List<Value>
Position (declared in Value)
Position this value is defined at (if not set, it will be at the aspects position)
constructor
Creates a new instance of this class
constructor
ArrayCtorCallValue()
init()
ArrayCtorCallValue()
Sub New()
constructor (IArrayType, array of Value)
Creates a new instance of this class
constructor(anArray: IArrayType; params aParameters: array of Value)
ArrayCtorCallValue(IArrayType anArray, params Value[] aParameters)
init(_ anArray: IArrayType, _ aParameters: Value...)
ArrayCtorCallValue(IArrayType anArray, Value[]... aParameters)
Sub New(anArray As IArrayType, ParamArray aParameters As Value())
Parameters:
- anArray: Type of the array to create
- aParameters: Values to pass to the constructor
Binary (declared in Value)
Creates a binary value
method Binary(aOp: BinaryOperator; aOther: Value): Value
Value Binary(BinaryOperator aOp, Value aOther)
func Binary(_ aOp: BinaryOperator, _ aOther: Value) -> Value
Value Binary(BinaryOperator aOp, Value aOther)
Function Binary(aOp As BinaryOperator, aOther As Value) As Value
Parameters:
- aOp: Operator
- aOther: Right side value
creates an identifier value
Parameters:
- aName: Name of the value
creates an identifier value
Parameters:
- aName: Name of the value
- aArgs: Generic arguments.
Length (declared in Value)
Creates a length value
method Length: Value
Value Length()
func Length() -> Value
Value Length()
Function Length() As Value
NotNil (declared in Value)
Creates a not nil value
method NotNil: Value
Value NotNil()
func NotNil() -> Value
Value NotNil()
Function NotNil() As Value
Creates a call value
Parameters:
- aName: Method name
- aGP: Generic parameters to pass
- aArgs: Arguments for this call
Creates a call value
Parameters:
- aName: Method name
- aArgs: Arguments for this call
SubArray (declared in Value)
Creates an array/property element access value
Parameters:
- aArgs: Arguments for element access
ToString
Returns the string value of this value
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary (declared in Value)
Creates a unary value
method Unary(aOp: UnaryOperator): Value
Value Unary(UnaryOperator aOp)
func Unary(_ aOp: UnaryOperator) -> Value
Value Unary(UnaryOperator aOp)
Function Unary(aOp As UnaryOperator) As Value
Parameters:
- aOp: Operator