Table of Contents

Class VarAccessor

Namespace
LunyScript.Blocks
Assembly
LunyScript.dll

Provides indexed access to script variables. Getter returns a VariableBlock for use in script expressions and conditions. Setter performs immediate variable assignment during Build().

public sealed class VarAccessor
Inheritance
object
VarAccessor

Properties

this[string]

public TableVariableBlock this[string name] { get; set; }

Parameters

name string

Property Value

TableVariableBlock

Methods

Constant(string, Variable)

public TableVariableBlock Constant(string name, Variable value)

Parameters

name string
value Variable

Returns

TableVariableBlock

Define(string, Variable)

public TableVariableBlock Define(string name, Variable value)

Parameters

name string
value Variable

Returns

TableVariableBlock