ForInLocalValue
Overview
The ForInLocalValue points to either the index or the item variable introduced in a for-in statement.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Values
- Ancestry: Value | ForInLocalValue
constructor
Create a new instance of this class
constructor
ForInLocalValue()
init()
ForInLocalValue()
Sub New()
constructor (ForInStatement, Boolean)
Create a new instance of this class
constructor(aStatement: ForInStatement; aIndex: Boolean)
ForInLocalValue(ForInStatement aStatement, Boolean aIndex)
init(_ aStatement: ForInStatement, _ aIndex: Boolean)
ForInLocalValue(ForInStatement aStatement, Boolean aIndex)
Sub New(aStatement As ForInStatement, aIndex As Boolean)
Parameters:
- aStatement: For in to refer to
- aIndex: 0 for the enumerated value, 1 for the indexer (if available)
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.
Index
If true it's the index value that's referenced, else it's the value variable
property Index: Boolean read write;
Boolean Index { get; set; }
var Index: Boolean { get{} set{} }
Boolean Index { __get; __set; }
Property Index() As Boolean
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
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
Statement
The statement this value belongs to
property Statement: ForInStatement read write;
ForInStatement Statement { get; set; }
var Statement: ForInStatement { get{} set{} }
ForInStatement Statement { __get; __set; }
Property Statement() As ForInStatement
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
Index
If true it's the index value that's referenced, else it's the value variable
property Index: Boolean read write;
Boolean Index { get; set; }
var Index: Boolean { get{} set{} }
Boolean Index { __get; __set; }
Property Index() As Boolean
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
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
Statement
The statement this value belongs to
property Statement: ForInStatement read write;
ForInStatement Statement { get; set; }
var Statement: ForInStatement { get{} set{} }
ForInStatement Statement { __get; __set; }
Property Statement() As ForInStatement
constructor
Create a new instance of this class
constructor
ForInLocalValue()
init()
ForInLocalValue()
Sub New()
constructor (ForInStatement, Boolean)
Create a new instance of this class
constructor(aStatement: ForInStatement; aIndex: Boolean)
ForInLocalValue(ForInStatement aStatement, Boolean aIndex)
init(_ aStatement: ForInStatement, _ aIndex: Boolean)
ForInLocalValue(ForInStatement aStatement, Boolean aIndex)
Sub New(aStatement As ForInStatement, aIndex As Boolean)
Parameters:
- aStatement: For in to refer to
- aIndex: 0 for the enumerated value, 1 for the indexer (if available)
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