Table of Contents

Class VariableBlock<T>

Namespace
LunyScript.Blocks
Assembly
LunyScript.dll

Abstract base for blocks that evaluate to a typed struct value. Separate from the scalar VariableBlock hierarchy; does not participate in arithmetic, comparison, or boolean condition operators.

public abstract class VariableBlock<T> where T : struct

Type Parameters

T
Inheritance
object
VariableBlock<T>

Constructors

VariableBlock()

protected VariableBlock()

Methods

ToString()

public override string ToString()

Returns

string

Operators

implicit operator VariableBlock<T>(T)

public static implicit operator VariableBlock<T>(T value)

Parameters

value T

Returns

VariableBlock<T>