aiscript library
Classes
- AddAssignNode
- AndNode
- ArrNode
- ArrValue
- An AiScript array value.
- AssignNode
- Attribute
- AttributeNode
- BaseAssignNode
- BaseOpNode
- BlockNode
- BoolNode
- BoolValue
- An AiScript boolean value.
- BreakNode
- CallChainNode
- CallNode
- ChainedNode
- Context
- A script execution context.
- ContinueNode
- DefinitionNode
- DummyModuleResolver
- A dummy module resolver. Always fails to resolve any module.
- EachNode
- ElseifBlock
- ErrorValue
- ExistsNode
- FnArgs
- The arguments to be passed to a function.
- FnNode
- FnParam
- FnTypeSourceNode
- FnValue
- Base class for function values.
- ForNode
- IdentifierNode
- IfNode
- IndexChainNode
- IndexNode
- InfixNode
- Interpreter
- An AiScript interpreter state.
- LineColumn
- The line and column position in a script.
- Loc
- The location of a node.
- LoopNode
- MatchCase
- MatchNode
- MetaNode
- ModuleResolver
- NamedTypeSourceNode
- NamespaceNode
- NativeFnValue
- A native function value.
- Node
- An AiScript node.
- NormalFnValue
- An AiScript function value.
- NotNode
- NullNode
- NullValue
- An AiScript null value.
- NumNode
- NumValue
- An AiScript number value.
- ObjNode
- ObjValue
- An AiScript object value.
- OrNode
- Parser
- An AiScript parser.
- ParseResult
- PropChainNode
- PropNode
- ResolvedModule
- Data of a module resolved by a ModuleResolver.
- ReturnNode
- Scope
- An AiScript scope.
- StrNode
- StrValue
- An AiScript string value.
- SubAssignNode
- TmplNode
- Value
- An AiScript value.
Enums
- OriginStatement
- Origin statement of a value.
Mixins
-
DeepEqValue<
T> - NameProp
- OptionalNameProp
-
PrimitiveValue<
T> - VariableException
- A scope exception that occurred on a variable.
Typedefs
- LineColumnFn = LineColumn Function(int pos)
-
ParserPlugin
= List<
Node> Function(List<Node> nodes, LineColumnFn getLineColumn) - Visitor = Node Function(Node)
- A visitor function.
Exceptions / Errors
- AiScriptError
- An AiScript error.
- 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.
- ReservedWordError
- A reserved word error.
- RuntimeError
- A runtime error.
- ScopeException
- A scope exception.
- SyntaxError
- A syntax error.
- TypeError
- A type error.
- VariableExistsException
- An exception that is thrown when attempting to add a variable that already exists.