apollovm library Null safety

Classes

ApolloExternalFunctionMapper
A mapper for a function that is external to the ApolloVM. [...]
ApolloLanguageRunner
Base class for ApolloVM runners. [...]
ApolloParser
Base class for ApolloVM parsers.
ApolloParserDart
Dart implementation of an ApolloParser.
ApolloParserJava11
Java11 implementation of an ApolloParser.
ApolloRunnerDart
ApolloRunnerJava11
ApolloVM
The Apollo VM.
ASTAnnotation
ASTAnnotationParameter
ASTBlock
An AST Block of code (statements).
ASTBranch
ASTStatement base for branches.
ASTBranchIfBlock
ASTBranch simple IF: if (exp) {}
ASTBranchIfElseBlock
ASTBranch IF,ELSE: if (exp) {} else {}
ASTBranchIfElseIfsElseBlock
ASTBranch IF,ELSE IF,ELSE: if (exp) {} else if (exp) {}* else {}
ASTClass
AST of a Class.
ASTClassField<T>
ASTVariable for class fields.
ASTClassFieldWithInitialValue<T>
ASTVariable for class fields with initial values.
ASTClassFunctionDeclaration<T>
An AST Class Function Declaration.
ASTCodeRunner
An AST that can be run.
ASTEntryPointBlock
An ASTBlock that can have an entry-point method/function.
ASTExpression
Base for AST expressions.
ASTExpressionFunctionInvocation
ASTExpression base class to call a function.
ASTExpressionLiteral
ASTExpression that declares a literal (number, boolean and String).
ASTExpressionLocalFunctionInvocation
ASTExpression to call a local context function.
ASTExpressionObjectFunctionInvocation
ASTExpression to call a class object function.
ASTExpressionOperation
ASTExpression for an operation between 2 expressions.
ASTExpressionVariableAccess
ASTExpression to access a variable.
ASTExpressionVariableAssignment
ASTExpression to assign the value of a variable.
ASTExpressionVariableEntryAccess
ASTExpression to access a variable entry, by index (foo[1]) or by key (foo[k]).
ASTExternalFunction<T>
An AST External Function.
ASTFunctionDeclaration<T>
An AST Function Declaration.
ASTFunctionParameterDeclaration<T>
An AST Function Parameter declaration.
ASTFunctionSet
An AST Function Set.
ASTFunctionSetMultiple
ASTFunctionSet implementation, with multiple entries.
ASTFunctionSetSingle
ASTFunctionSet implementation, with 1 entry.
ASTFunctionSignature
An AST Function Signature.
ASTModifiers
Modifiers of an AST element.
ASTNode
An AST (Abstract Syntax Tree) Node.
ASTObjectInstance
ASTValue for an object class instance.
ASTParameterDeclaration<T>
An AST Parameter declaration.
ASTParametersDeclaration
An AST Parameters Declaration
ASTRoot
An AST Root. [...]
ASTRunStatus
The runtime status of execution. [...]
ASTRuntimeVariable<T>
ASTVariable for a runtime value. [...]
ASTScopeVariable<T>
ASTVariable for a variable visible in a scope context.
ASTStatement
An AST Statement.
ASTStatementExpression
ASTStatementForLoop
ASTStatementReturn
ASTStatement to return void.
ASTStatementReturnNull
ASTStatement to return null.
ASTStatementReturnValue
ASTStatement to return a value.
ASTStatementReturnVariable
ASTStatement to return a variable.
ASTStatementReturnWithExpression
ASTStatement to return an expression.
ASTStatementValue
ASTStatementVariableDeclaration<V>
ASTStatement that declares a scope variable.
ASTThisVariable<T>
ASTVariable for this/self reference.
ASTType<V>
An AST Type.
ASTTypeArray<T extends ASTType<V>, V>
ASTType for an array/List.
ASTTypeArray2D<T extends ASTType<V>, V>
ASTType a for a 2D array/List.
ASTTypeArray3D<T extends ASTType<V>, V>
ASTType a for a 3D array/List.
ASTTypeBool
ASTType for booleans (bool).
ASTTypedNode
ASTTypeDouble
ASTType for double.
ASTTypedVariable<T>
ASTVariable with type.
ASTTypeDynamic
ASTType for dynamic declaration.
ASTTypeFuture<T extends ASTType<V>, V>
ASTType a for a Future.
ASTTypeGenericVariable
Generic variable of an ASTType.
ASTTypeGenericWildcard
Generic wildcard (?) of an ASTType.
ASTTypeInt
ASTType for integer (int).
ASTTypeInterface<V>
ASTTypeNull
ASTType for null.
ASTTypeNum<T extends num>
ASTType for numbers (num).
ASTTypeObject
ASTType for Object.
ASTTypePrimitive<T>
Base ASTType for primitives.
ASTTypeString
ASTType for String.
ASTTypeVar
ASTType for var declaration.
ASTTypeVoid
ASTType for void.
ASTValue<T>
Base class for AST values.
ASTValueArray<T extends ASTType<V>, V>
ASTValue for an array/List.
ASTValueArray2D<T extends ASTType<V>, V>
ASTValue for a 2D array/List.
ASTValueArray3D<T extends ASTType<V>, V>
ASTValue for a 3D array/List.
ASTValueAsString<T>
ASTValue that should be converted to String.
ASTValueBool
ASTValue for booleans (bool).
ASTValueDouble
ASTValue for double.
ASTValueFuture<T extends ASTType<V>, V>
ASTValue for a Future.
ASTValueInt
ASTValue for integer (int).
ASTValueNull
ASTValue for null.
ASTValueNum<T extends num>
ASTValue for numbers (num).
ASTValueObject
ASTValue for Object.
ASTValuePrimitive<T>
ASTValue for primitive types.
ASTValueReadIndex<T>
ASTValue for a variable read index: elem[1].
ASTValueReadKey<T>
ASTValue for a variable read key: elem[k].
ASTValuesListAsString
ASTValue for lists that should be converted to String.
ASTValueStatic<T>
Static ASTValue. Useful for literals.
ASTValueString
ASTValue for String.
ASTValueStringConcatenation
ASTValue for a concatenations of other values.
ASTValueStringExpresion<T>
ASTValue for expressions that should be converted to String.
ASTValueStringVariable<T>
ASTValue for a variable that should resolved and converted to String.
ASTValueVar
ASTValue declared with var.
ASTValueVoid
ASTValue for void.
ASTVariable
Base class for variable reference.
CodeNamespace
A namespace that can have multiple loaded CodeUnit instances.
CodeUnit
A Code Unit, with a source code in a specific language.
LanguageNamespaces
Language specific namespaces. [...]
ParseResult
VMClassContext
A runtime context, for classes, of the VM. [...]
VMContext
A runtime context of the VM. [...]
VMObject
An VM Object instance, with respective fields for class type.

Extensions

ListTypedExtension

Functions

getASTAssignmentOperator(String op) ASTAssignmentOperator
getASTAssignmentOperatorText(ASTAssignmentOperator op) String
getASTExpressionOperator(String op) ASTExpressionOperator
getASTExpressionOperatorText(ASTExpressionOperator op) String

Enums

ASTAssignmentOperator
ASTExpressionOperator

Typedefs

ASTPrintFunction(Object? o) → void

Exceptions / Errors

ApolloVMNullPointerException
When a NPE happens while executing some code.
SyntaxError
Syntax Error while parsing.
UnsupportedSyntaxError
Unsupported syntax Error while parsing.
UnsupportedTypeError
Unsupported type Error while parsing.
UnsupportedValueOperationError
Unsupported value operation Error while parsing.