dev library

Dev/JIT-only entrypoint for package:conduit_runtime.

Re-exports the mirror-based discovery surface that JIT-mode tooling (tests, conduit serve, conduit document) relies on. dart compile exe users should import package:conduit_runtime/runtime.dart instead — that entrypoint has no dart:mirrors in its import graph.

Dev/JIT users who want RuntimeContext.current to fall back to MirrorContext automatically should call enableMirrorFallback once at the top of main(). AOT users do not need this — the build_runner-generated bootstrap() installs the runtime registry directly.

Classes

CodeAnalyzer
Compiler
Provides the runtime registry entries used by the JIT/dev mirror fallback (MirrorContext).
MirrorContext
PreventCompilation
Prevents a type from being compiled when it otherwise would be.
RuntimeCollection
RuntimeContext
Contextual values used during runtime.

Properties

instance RuntimeContext
getter/setter pair

Functions

enableMirrorFallback() → void
Wires the mirror-based MirrorContext as the default factory used by RuntimeContext.current. Call once at the top of main() from dev/JIT-mode code that doesn't go through the build_runner-generated bootstrap().
firstMetadataOfType<T>(DeclarationMirror dm, {TypeMirror? dynamicType}) → T?
isTypeFullyPrimitive(TypeMirror type) bool
registerDefaultContextFactory(RuntimeContext factory()) → void
runtimeCast(Object object, TypeMirror intoType) Object

Exceptions / Errors

TypeCoercionException