dart_eval_bridge library

Classes

$Closure
Variant of $Function for use in a dynamic invocation / closure context, such as when passing a function as an argument.
$Function
An implementation of EvalFunction that wraps an existing Dart function for use in dart_eval.
$Instance
Interface for objects with properties and methods
$Value
Interface for objects with a backing value
AsyncTypes
This class contains dart:async bridge type specs for convenience
BridgeClassDef
A bridged class definition, used to inform the dart_eval compiler of a class's structure, properties, and methods when it is defined outside of dart_eval.
BridgeClassType
A bridged class type informs the dart_eval compiler about a class's header including superclass, mixins and interfaces.
BridgeConstructorDef
A bridged constructor definition, used to inform the dart_eval compiler of a constructor's properties when it is defined outside of dart_eval.
BridgeDeclaration
A Bridge declaration declares an element that is transferrable between the Dart and dart_eval VM.
BridgeDeclarationRegistry
A registry of compile-time bridge declarations. Implemented by Compiler and BridgeSerializer.
BridgeEnumDef
BridgeFieldDef
A bridged field definition, used to inform the dart_eval compiler of a field's properties and type when it is defined outside of dart_eval.
BridgeFunctionDeclaration
Represents a bridged function declaration.
BridgeFunctionDef
A bridged function definition.
BridgeGenericParam
BridgeMethodDef
A bridged method definition, used to inform the dart_eval compiler about a method's properties when it is defined outside of dart_eval.
BridgeParameter
Describes a parameter of a bridged function.
BridgeSerializer
A BridgeDeclarationRegistry which serializes registered declarations to a JSON object. Serialized declarations can be loaded with the dart_eval CLI.
BridgeTypeAnnotation
A bridged type annotation contains a type and an optional nullable flag.
BridgeTypeRef
A bridge type ref is a reference to a type used by the dart_eval compiler.
BridgeTypeSpec
A type spec is a type reference that is not yet resolved, comprised of a library URI and a name.
CollectionTypes
This class contains dart:collection bridge type specs for convenience
ConvertTypes
This class contains dart:convert bridge type specs for convenience
CoreTypes
This class contains dart:core bridge type specs for convenience
DartSource
A unit of Dart source code, from a file or String.
EvalCallable
Abstract supertype for values representing a callable in dart_eval.
EvalClass
A class is an instance of Type
EvalFunction
Abstract supertype for values representing a Function in dart_eval.
EvalPlugin
A plugin that can configure compile-time and runtime code / bindings for dart_eval.
EvalPluginRegistry
A registry of EvalPlugins.
IoTypes
This class contains dart:io bridge type specs for convenience
Runtime
A Runtime is a virtual machine instance that executes EVC bytecode.
TypedDataTypes
Version
A parsed semantic version number.

Mixins

$Bridge<T>
A bridge class can be extended inside the dart_eval VM and used both in and outside of it.

Functions

runtimeOverride(String id, [Iterable<Object?> args = const []]) Object?
Lookup and execute an overriden function on the globalRuntime by its ID

Typedefs

EvalCallableFunc = $Value? Function(Runtime runtime, $Value? target, List<$Value?> args)
Typedef of a function that can be called by dart_eval.