LocalVariable

Overview

An new inline local variable inside a begin/end block. The values are initialized by adding AssignmentStatement instances to the begin/end variable.

Location


Properties


Name

Name of the local

 

property Name: String read write;

 

String Name { get; set; }

 

var Name: String { get{} set{} }

 

String Name { __get; __set; }

 

Property Name() As String

Type

Type of the local

 

property Type: IType read write;

 

IType Type { get; set; }

 

var Type: IType { get{} set{} }

 

IType Type { __get; __set; }

 

Property Type() As IType

Instance Methods


constructor

Constructor that does not initialize any fields.

 

constructor

 

LocalVariable()

 

init()

 

LocalVariable()

 

Sub New()

constructor (String, IType)

Constructor

 

constructor(aName: String; aType: IType)

 

LocalVariable(String aName, IType aType)

 

init(_ aName: String, _ aType: IType)

 

LocalVariable(String aName, IType aType)

 

Sub New(aName As String, aType As IType)

Parameters:

  • aName: name of the local variable
  • aType: Type of the local variable