ApolloRunnerJava11 class

Java11 implementation of an ApolloRunner.

Inheritance
Available Extensions

Constructors

ApolloRunnerJava11(ApolloVM apolloVM)

Properties

apolloVM ApolloVM
The ApolloVM of this runner.
finalinherited
externalFunctionMapper ApolloExternalFunctionMapper?
getter/setter pairinherited
externalPrintFunction ↔ void Function(Object? o)
The external print function to map.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
language String
The target programing language of this runner.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() ApolloRunnerJava11
Returns a copy of this instance.
override
createDefaultApolloExternalFunctionMapper() ApolloExternalFunctionMapper?
The default ApolloExternalFunctionMapper for this target language runner.
inherited
executeClassMethod(String namespace, String className, String methodName, {List? positionalParameters, Map? namedParameters, VMObject? classInstanceObject, Map<String, ASTValue>? classInstanceFields}) FutureOr<ASTValue>
Executes a class method.
inherited
executeFunction(String namespace, String functionName, {List? positionalParameters, Map? namedParameters, bool allowClassMethod = false}) Future<ASTValue>
Executes a function in namespace and with name functionName.
inherited
getClass(String className, {String? namespace, bool caseInsensitive = false}) FutureOr<ASTClassNormal?>
Returns an ASTClassNormal for className in namespace (optional).
inherited
getClassMethod(String namespace, String className, String methodName, [dynamic positionalParameters, dynamic namedParameters]) FutureOr<ASTFunctionDeclaration?>
Returns a class method.
inherited
getFunction(String namespace, String functionName, [List? positionalParameters, Map? namedParameters]) FutureOr<ASTFunctionDeclaration?>
Returns a function in namespace and with name functionName.
inherited
getFunctionCodeUnit(String namespace, String functionName, {bool allowClassMethod = false}) FutureOr<({String? className, CodeUnit? codeUnit})>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
inherited
resolveType(String typeName, {String? namespace, String? language, bool caseInsensitive = false}) FutureOr<ASTType?>
Resolves an ASTType with typeName.
inherited
toString() String
A string representation of this object.
inherited
tryExecuteClassFunction(String namespace, String className, String functionName, [List? positionalParameters]) Future<ASTValue?>
Tries to execute a class function with variations of positionalParameters.
inherited
tryExecuteFunction(String namespace, String functionName, [List? positionalParameters]) Future<ASTValue?>
Tries to execute a function with variations of positionalParameters.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited