WithLocalValue

Overview

A value pointing to a local variable defined by a WithStatement.

Location

 

constructor

 

constructor()

 

WithLocalValue()

 

init()

 

WithLocalValue()

constructor (WithItem)

Create a new instance of this class

 

constructor(aItem: WithItem)

 

WithLocalValue(WithItem aItem)

 

init(_ aItem: WithItem)

 

WithLocalValue(WithItem aItem)

Parameters:

  • aItem: With item to refer to

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)

Parameters:

  • aOp: Operator
  • aOther: Right side value

Identifier (String): Value    (declared in Value)

creates an identifier value

 

method Identifier(aName: String): Value

 

Value Identifier(String aName)

 

func Identifier(_ aName: String) -> Value

 

Value Identifier(String aName)

Parameters:

  • aName: Name of the value

Identifier (String, array of IType): Value    (declared in Value)

creates an identifier value

 

method Identifier(aName: String; aArgs: array of IType): Value

 

Value Identifier(String aName, IType[] aArgs)

 

func Identifier(_ aName: String, _ aArgs: IType...) -> Value

 

Value Identifier(String aName, IType[] aArgs)

Parameters:

  • aName: Name of the value
  • aArgs: Generic arguments.

Item

The with item this value belongs to

 

property Item: WithItem read write

 

WithItem Item { get; set; }

 

var Item: WithItem { get{} set{} }

 

WithItem Item { __get; __set; }

Kind

 

property Kind: ValueKind read

 

ValueKind Kind { get; }

 

var Kind: ValueKind { get{} }

 

ValueKind Kind { __get; }

Length    (declared in Value)

Creates a length value

 

method Length(): Value

 

Value Length()

 

func Length() -> Value

 

Value Length()

NotNil    (declared in Value)

Creates a not nil value

 

method NotNil(): Value

 

Value NotNil()

 

func NotNil() -> Value

 

Value NotNil()

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; }

Proc (String, array of IType, array of Value): Value    (declared in Value)

Creates a call value

 

method Proc(aName: String; aGP: array of IType; params aArgs: array of Value): Value

 

Value Proc(String aName, IType[] aGP, params Value[] aArgs)

 

func Proc(_ aName: String, _ aGP: IType..., _ aArgs: Value...) -> Value

 

Value Proc(String aName, IType[] aGP, Value[]... aArgs)

Parameters:

  • aName: Method name
  • aGP: Generic parameters to pass
  • aArgs: Arguments for this call

Proc (String, array of Value): Value    (declared in Value)

Creates a call value

 

method Proc(aName: String; params aArgs: array of Value): Value

 

Value Proc(String aName, params Value[] aArgs)

 

func Proc(_ aName: String, _ aArgs: Value...) -> Value

 

Value Proc(String aName, Value[]... aArgs)

Parameters:

  • aName: Method name
  • aArgs: Arguments for this call

SubArray    (declared in Value)

Creates an array/property element access value

 

method SubArray(params aArgs: array of Value): Value

 

Value SubArray(params Value[] aArgs)

 

func SubArray(_ aArgs: Value...) -> Value

 

Value SubArray(Value[]... aArgs)

Parameters:

  • aArgs: Arguments for element access

ToString

Returns the string value of this value

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

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)

Parameters:

  • aOp: Operator

 

Item

The with item this value belongs to

 

property Item: WithItem read write

 

WithItem Item { get; set; }

 

var Item: WithItem { get{} set{} }

 

WithItem Item { __get; __set; }

Kind

 

property Kind: ValueKind read

 

ValueKind Kind { get; }

 

var Kind: ValueKind { get{} }

 

ValueKind Kind { __get; }

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; }

 

constructor

 

constructor()

 

WithLocalValue()

 

init()

 

WithLocalValue()

constructor (WithItem)

Create a new instance of this class

 

constructor(aItem: WithItem)

 

WithLocalValue(WithItem aItem)

 

init(_ aItem: WithItem)

 

WithLocalValue(WithItem aItem)

Parameters:

  • aItem: With item to refer to

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)

Parameters:

  • aOp: Operator
  • aOther: Right side value

Identifier (String): Value    (declared in Value)

creates an identifier value

 

method Identifier(aName: String): Value

 

Value Identifier(String aName)

 

func Identifier(_ aName: String) -> Value

 

Value Identifier(String aName)

Parameters:

  • aName: Name of the value

Identifier (String, array of IType): Value    (declared in Value)

creates an identifier value

 

method Identifier(aName: String; aArgs: array of IType): Value

 

Value Identifier(String aName, IType[] aArgs)

 

func Identifier(_ aName: String, _ aArgs: IType...) -> Value

 

Value Identifier(String aName, IType[] aArgs)

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()

NotNil    (declared in Value)

Creates a not nil value

 

method NotNil(): Value

 

Value NotNil()

 

func NotNil() -> Value

 

Value NotNil()

Proc (String, array of IType, array of Value): Value    (declared in Value)

Creates a call value

 

method Proc(aName: String; aGP: array of IType; params aArgs: array of Value): Value

 

Value Proc(String aName, IType[] aGP, params Value[] aArgs)

 

func Proc(_ aName: String, _ aGP: IType..., _ aArgs: Value...) -> Value

 

Value Proc(String aName, IType[] aGP, Value[]... aArgs)

Parameters:

  • aName: Method name
  • aGP: Generic parameters to pass
  • aArgs: Arguments for this call

Proc (String, array of Value): Value    (declared in Value)

Creates a call value

 

method Proc(aName: String; params aArgs: array of Value): Value

 

Value Proc(String aName, params Value[] aArgs)

 

func Proc(_ aName: String, _ aArgs: Value...) -> Value

 

Value Proc(String aName, Value[]... aArgs)

Parameters:

  • aName: Method name
  • aArgs: Arguments for this call

SubArray    (declared in Value)

Creates an array/property element access value

 

method SubArray(params aArgs: array of Value): Value

 

Value SubArray(params Value[] aArgs)

 

func SubArray(_ aArgs: Value...) -> Value

 

Value SubArray(Value[]... aArgs)

Parameters:

  • aArgs: Arguments for element access

ToString

Returns the string value of this value

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

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)

Parameters:

  • aOp: Operator

See Also