Table of Contents

Class Variable

Namespace
StepLang.Interpreting
Assembly
StepLang.dll
public class Variable
Inheritance
Variable
Inherited Members

Constructors

Variable(string, IReadOnlyList<ResultType>, bool)

public Variable(string identifier, IReadOnlyList<ResultType> types, bool nullable)

Parameters

identifier string
types IReadOnlyList<ResultType>
nullable bool

Properties

Identifier

public string Identifier { get; }

Property Value

string

Nullable

public bool Nullable { get; }

Property Value

bool

TypeString

public string TypeString { get; }

Property Value

string

Types

public IReadOnlyList<ResultType> Types { get; }

Property Value

IReadOnlyList<ResultType>

Value

public ExpressionResult Value { get; }

Property Value

ExpressionResult

Methods

Accepts(ExpressionResult)

public bool Accepts(ExpressionResult value)

Parameters

value ExpressionResult

Returns

bool

Assign(TokenLocation, ExpressionResult)

public void Assign(TokenLocation assignmentLocation, ExpressionResult newValue)

Parameters

assignmentLocation TokenLocation
newValue ExpressionResult

ToString()

public override string ToString()

Returns

string