interpreter library

Classes

ArrValue
An AiScript array value.
Attribute
BoolValue
An AiScript boolean value.
Context
A script execution context.
DummyModuleResolver
A dummy module resolver. Always fails to resolve any module.
ErrorValue
FnArgs
The arguments to be passed to a function.
FnValue
Base class for function values.
Interpreter
An AiScript interpreter state.
ModuleResolver
NativeFnValue
A native function value.
NormalFnValue
An AiScript function value.
NullValue
An AiScript null value.
NumValue
An AiScript number value.
ObjValue
An AiScript object value.
ResolvedModule
Data of a module resolved by a ModuleResolver.
Scope
An AiScript scope.
StrValue
An AiScript string value.
Value
An AiScript value.

Enums

OriginStatement
Origin statement of a value.

Mixins

DeepEqValue<T>
PrimitiveValue<T>
VariableException
A scope exception that occurred on a variable.

Exceptions / Errors

ImmutableVariableException
An exception that is thrown when attempting to assign a value to an immutable variable.
IndexOutOfRangeError
An index out of range error.
NoSuchVariableException
An exception that is thrown when attempting to access a variable that doesn't exist.
RuntimeError
A runtime error.
ScopeException
A scope exception.
VariableExistsException
An exception that is thrown when attempting to add a variable that already exists.