StandaloneStatement

Overview

StandaloneStatement is a plain statement with no assignment. It executes/calls the passed value, usually a method call. StandaloneStatement is a wrapper around AssignmentStatement.

Location


 

constructor    (declared in AssignmentStatement)

Constructor that does not initialize any fields.

 

constructor

 

StandaloneStatement()

 

init()

 

StandaloneStatement()

 

Sub New()

constructor (Value, Value)    (declared in AssignmentStatement)

Constructor for this class; the compiler will evaluate aSource and assign it to aDest.

 

constructor(aDest: Value; aSource: Value)

 

StandaloneStatement(Value aDest, Value aSource)

 

init(_ aDest: Value, _ aSource: Value)

 

StandaloneStatement(Value aDest, Value aSource)

 

Sub New(aDest As Value, aSource As Value)

Parameters:

  • aDest: Destination value
  • aSource: Source value

constructor (Value)

Creates a standalone statement with the "Source" set to the parameter value.

 

constructor(aStandaloneValue: Value)

 

StandaloneStatement(Value aStandaloneValue)

 

init(_ aStandaloneValue: Value)

 

StandaloneStatement(Value aStandaloneValue)

 

Sub New(aStandaloneValue As Value)

Parameters:

  • aStandaloneValue: Source value

BuildStatement    (declared in AssignmentStatement)

Converts a statement to a string.

 

method BuildStatement(anIndent: Int32; sb: StringBuilder)

 

void BuildStatement(Int32 anIndent, StringBuilder sb)

 

func BuildStatement(_ anIndent: Int32, _ sb: StringBuilder)

 

void BuildStatement(Int32 anIndent, StringBuilder sb)

 

Sub BuildStatement(anIndent As Int32, sb As StringBuilder)

Parameters:

  • anIndent: The nr of spaces to place before the start of this statement.
  • sb: Output string builder.

Dest    (declared in AssignmentStatement)

Destination of the assignment.

 

property Dest: Value read write;

 

Value Dest { get; set; }

 

var Dest: Value { get{} set{} }

 

Value Dest { __get; __set; }

 

Property Dest() As Value

Kind    (declared in AssignmentStatement)

Returns what kind of statement this is; this can be used to find out if a statement is of a specific type without having to check all possible casts

 

property Kind: StatementKind read;

 

StatementKind Kind { get; }

 

var Kind: StatementKind { get{} }

 

StatementKind Kind { __get; }

 

ReadOnly Property Kind() As StatementKind

OverflowCheck    (declared in Statement)

Overflow checking for binary and unary operations in this statement

 

property OverflowCheck: Boolean read write;

 

Boolean OverflowCheck { get; set; }

 

var OverflowCheck: Boolean { get{} set{} }

 

Boolean OverflowCheck { __get; __set; }

 

Property OverflowCheck() As Boolean

Position    (declared in Statement)

Position this statement is defined at

 

property Position: IPosition read write;

 

IPosition Position { get; set; }

 

var Position: IPosition { get{} set{} }

 

IPosition Position { __get; __set; }

 

Property Position() As IPosition

SetOverflowCheckRecursive    (declared in Statement)

Recursively sets the OverflowCheck flag

 

method SetOverflowCheckRecursive(value: Boolean)

 

void SetOverflowCheckRecursive(Boolean value)

 

func SetOverflowCheckRecursive(_ value: Boolean)

 

void SetOverflowCheckRecursive(Boolean value)

 

Sub SetOverflowCheckRecursive(value As Boolean)

Parameters:

  • value: new value

Source    (declared in AssignmentStatement)

Source of the assignment or the standalone value.

 

property Source: Value read write;

 

Value Source { get; set; }

 

var Source: Value { get{} set{} }

 

Value Source { __get; __set; }

 

Property Source() As Value

ToString    (declared in Statement)

Returns this statement as a string

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToValue    (declared in AssignmentStatement)

Converts this statement to a value tree that creates these statements

 

method ToValue(aServicesParameter: Value; aServices: IServices): Value

 

Value ToValue(Value aServicesParameter, IServices aServices)

 

func ToValue(_ aServicesParameter: Value, _ aServices: IServices) -> Value

 

Value ToValue(Value aServicesParameter, IServices aServices)

 

Function ToValue(aServicesParameter As Value, aServices As IServices) As Value

Parameters:

  • aServicesParameter: the value that contains where aServices is stored
  • aServices: Actual services instance.

 

Dest    (declared in AssignmentStatement)

Destination of the assignment.

 

property Dest: Value read write;

 

Value Dest { get; set; }

 

var Dest: Value { get{} set{} }

 

Value Dest { __get; __set; }

 

Property Dest() As Value

Kind    (declared in AssignmentStatement)

Returns what kind of statement this is; this can be used to find out if a statement is of a specific type without having to check all possible casts

 

property Kind: StatementKind read;

 

StatementKind Kind { get; }

 

var Kind: StatementKind { get{} }

 

StatementKind Kind { __get; }

 

ReadOnly Property Kind() As StatementKind

OverflowCheck    (declared in Statement)

Overflow checking for binary and unary operations in this statement

 

property OverflowCheck: Boolean read write;

 

Boolean OverflowCheck { get; set; }

 

var OverflowCheck: Boolean { get{} set{} }

 

Boolean OverflowCheck { __get; __set; }

 

Property OverflowCheck() As Boolean

Position    (declared in Statement)

Position this statement is defined at

 

property Position: IPosition read write;

 

IPosition Position { get; set; }

 

var Position: IPosition { get{} set{} }

 

IPosition Position { __get; __set; }

 

Property Position() As IPosition

Source    (declared in AssignmentStatement)

Source of the assignment or the standalone value.

 

property Source: Value read write;

 

Value Source { get; set; }

 

var Source: Value { get{} set{} }

 

Value Source { __get; __set; }

 

Property Source() As Value

 

constructor    (declared in AssignmentStatement)

Constructor that does not initialize any fields.

 

constructor

 

StandaloneStatement()

 

init()

 

StandaloneStatement()

 

Sub New()

constructor (Value, Value)    (declared in AssignmentStatement)

Constructor for this class; the compiler will evaluate aSource and assign it to aDest.

 

constructor(aDest: Value; aSource: Value)

 

StandaloneStatement(Value aDest, Value aSource)

 

init(_ aDest: Value, _ aSource: Value)

 

StandaloneStatement(Value aDest, Value aSource)

 

Sub New(aDest As Value, aSource As Value)

Parameters:

  • aDest: Destination value
  • aSource: Source value

constructor (Value)

Creates a standalone statement with the "Source" set to the parameter value.

 

constructor(aStandaloneValue: Value)

 

StandaloneStatement(Value aStandaloneValue)

 

init(_ aStandaloneValue: Value)

 

StandaloneStatement(Value aStandaloneValue)

 

Sub New(aStandaloneValue As Value)

Parameters:

  • aStandaloneValue: Source value

BuildStatement    (declared in AssignmentStatement)

Converts a statement to a string.

 

method BuildStatement(anIndent: Int32; sb: StringBuilder)

 

void BuildStatement(Int32 anIndent, StringBuilder sb)

 

func BuildStatement(_ anIndent: Int32, _ sb: StringBuilder)

 

void BuildStatement(Int32 anIndent, StringBuilder sb)

 

Sub BuildStatement(anIndent As Int32, sb As StringBuilder)

Parameters:

  • anIndent: The nr of spaces to place before the start of this statement.
  • sb: Output string builder.

SetOverflowCheckRecursive    (declared in Statement)

Recursively sets the OverflowCheck flag

 

method SetOverflowCheckRecursive(value: Boolean)

 

void SetOverflowCheckRecursive(Boolean value)

 

func SetOverflowCheckRecursive(_ value: Boolean)

 

void SetOverflowCheckRecursive(Boolean value)

 

Sub SetOverflowCheckRecursive(value As Boolean)

Parameters:

  • value: new value

ToString    (declared in Statement)

Returns this statement as a string

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToValue    (declared in AssignmentStatement)

Converts this statement to a value tree that creates these statements

 

method ToValue(aServicesParameter: Value; aServices: IServices): Value

 

Value ToValue(Value aServicesParameter, IServices aServices)

 

func ToValue(_ aServicesParameter: Value, _ aServices: IServices) -> Value

 

Value ToValue(Value aServicesParameter, IServices aServices)

 

Function ToValue(aServicesParameter As Value, aServices As IServices) As Value

Parameters:

  • aServicesParameter: the value that contains where aServices is stored
  • aServices: Actual services instance.