Skip to main content

Crate vm

Crate vm 

Source

Re-exports§

pub use assembler::AsmParseError;
pub use assembler::Assembler;
pub use assembler::AssemblerError;
pub use assembler::BytecodeBuilder;
pub use assembler::assemble;
pub use bytecode::HostImport;
pub use bytecode::OpCode;
pub use bytecode::Program;
pub use bytecode::TypeMap;
pub use bytecode::Value;
pub use bytecode::ValueType;
pub use compiler::diagnostics::render_compile_error;
pub use compiler::diagnostics::render_source_error;
pub use compiler::source_map::LineSpanMapping;
pub use compiler::source_map::LoweredSource;
pub use compiler::source_map::SourceId;
pub use compiler::source_map::SourceMap;
pub use compiler::source_map::Span;
pub use compiler::AssignmentKind;
pub use compiler::ClosureExpr;
pub use compiler::CompileError;
pub use compiler::CompileSourceFileOptions;
pub use compiler::CompiledProgram;
pub use compiler::CompiledReplProgram;
pub use compiler::Compiler;
pub use compiler::Expr;
pub use compiler::FormatError;
pub use compiler::FrontendImportSyntax;
pub use compiler::FrontendIr;
pub use compiler::FunctionDecl;
pub use compiler::ImportClause;
pub use compiler::InferredLocalTypeHint;
pub use compiler::LocalIrBuilder;
pub use compiler::LocalSlot;
pub use compiler::ModuleImport;
pub use compiler::NamedImport;
pub use compiler::ParseError;
pub use compiler::ParserDialect;
pub use compiler::ReplLocalBinding;
pub use compiler::SharedParserOptions;
pub use compiler::SourceError;
pub use compiler::SourceFlavor;
pub use compiler::SourcePathError;
pub use compiler::SourcePlugin;
pub use compiler::Stmt;
pub use compiler::UnknownInferredLocal;
pub use compiler::collect_inferred_local_type_hints;
pub use compiler::collect_inferred_local_type_hints_at_path_with_options;
pub use compiler::collect_inferred_local_type_hints_with_options;
pub use compiler::compile_source;
pub use compiler::compile_source_at_path_with_flavor_and_options;
pub use compiler::compile_source_file;
pub use compiler::compile_source_file_with_options;
pub use compiler::compile_source_for_repl;
pub use compiler::compile_source_for_repl_with_locals;
pub use compiler::compile_source_with_flavor;
pub use compiler::compile_source_with_flavor_and_options;
pub use compiler::format_source;
pub use compiler::format_source_with_flavor;
pub use compiler::format_source_with_flavor_and_options;
pub use compiler::lint_trailing_function_return_semicolons;
pub use compiler::lint_unknown_inferred_local_types;
pub use compiler::lint_unknown_inferred_local_types_at_path_with_options;
pub use compiler::lint_unknown_inferred_local_types_with_options;
pub use compiler::lint_unknown_type_annotations;
pub use compiler::parse_source_with_dialect;
pub use debug_info::ArgInfo;
pub use debug_info::DebugFunction;
pub use debug_info::DebugInfo;
pub use debug_info::LineInfo;
pub use debug_info::LocalInfo;
pub use debugger::DebugCommandBridge;
pub use debugger::DebugCommandBridgeError;
pub use debugger::DebugCommandBridgeResponse;
pub use debugger::DebugCommandBridgeStatus;
pub use debugger::Debugger;
pub use debugger::StepMode;
pub use debugger::VmRecording;
pub use debugger::VmRecordingError;
pub use debugger::VmRecordingFrame;
pub use debugger::VmRecordingReplayResponse;
pub use debugger::VmRecordingReplayState;
pub use debugger::replay_recording_stdio;
pub use debugger::run_recording_replay_command;
pub use jit::JitAttempt;
pub use jit::JitConfig;
pub use jit::JitMetrics;
pub use jit::JitNyiDoc;
pub use jit::JitNyiReason;
pub use jit::JitSnapshot;
pub use jit::JitTrace;
pub use jit::JitTraceTerminal;
pub use jit::TraceJitEngine;
pub use vm::diagnostics::render_vm_error;
pub use vm::AotArtifactError;
pub use vm::CallOutcome;
pub use vm::CallReturn;
pub use vm::EpochCheckpoint;
pub use vm::EpochHandle;
pub use vm::FuelCheckpoint;
pub use vm::HostArgsFunction;
pub use vm::HostAsyncBridge;
pub use vm::HostBindingPlan;
pub use vm::HostFunction;
pub use vm::HostFunctionRegistry;
pub use vm::HostOpId;
pub use vm::HostStackFunction;
pub use vm::StaticHostArgsFunction;
pub use vm::StaticHostFunction;
pub use vm::StaticHostStackFunction;
pub use vm::Store;
pub use vm::Vm;
pub use vm::VmError;
pub use vm::VmResult;
pub use vm::VmStatus;
pub use vm::VmYieldReason;
pub use vmbc::DisassembleOptions;
pub use vmbc::ValidationError;
pub use vmbc::WireError;
pub use vmbc::decode_program;
pub use vmbc::disassemble_program;
pub use vmbc::disassemble_program_with_options;
pub use vmbc::disassemble_vmbc;
pub use vmbc::disassemble_vmbc_with_options;
pub use vmbc::encode_program;
pub use vmbc::infer_local_count;
pub use vmbc::validate_program;

Modules§

assembler
bytecode
cli
compiler
debug_info
debugger
jit
vm
vmbc

Structs§

BuiltinNamespaceMemberSpec
BuiltinNamespaceSpec
CallableDef
CallableParam
CallableSignature
LanguageBuiltinSpec
PrintHostFunction
PrintlnHostFunction

Enums§

BuiltinFunction
CallableParamType

Functions§

builtin_call_index
builtin_namespace_specs
callable_signatures_for_builtin_namespace_member
default_host_callables
format_value
is_builtin_namespace
language_builtin_specs
resolve_builtin_namespace_call