Skip to main content

Crate lashlang

Crate lashlang 

Source

Structs§

AssignTarget
BudgetedJsonProjectionConfig
BudgetedJsonProjector
CompileStats
Compile-time statistics captured when a program is compiled. Independent of run-time profiling — these counts reflect the shape of the compiled program itself (how many Type literals it contains, how many got const-folded, etc.). Runtime cost of Type evaluation appears in the instruction profile under build_type_ref / build_record / etc.
CompiledLinkedProgram
CompiledProcessCache
CompiledProcessCacheKey
CompiledProgram
CompiledProgramCache
CompiledProgramCacheStats
ContentHash
ExecutionEnvironment
ExecutionHostError
ExecutionScratch
HostDescriptor
HostRequirements
HostRequirementsRef
ImageValue
InMemoryLashlangArtifactStore
LabelMetadata
LashlangAbilities
LashlangBranchSite
LashlangExecutionCallSite
LashlangExecutionChild
LashlangExecutionSite
LashlangHostCatalog
LashlangHostEnvironment
LashlangLanguageFeatures
LinkedModule
LinkedProgramCache
ListValue
ModuleArtifact
ModuleCompileDiagnostic
ModuleCompileOutput
ModuleCompileRequest
ModuleExports
ModuleInstanceIntrospection
ModuleIntrospection
ModuleOperationIntrospection
ModuleRef
NamedDataType
NamedDataTypeIntrospection
ProcessDecl
ProcessDefinitionIdentity
ProcessEvent
ProcessInputIntrospection
ProcessIntrospection
ProcessParam
ProcessRef
ProcessSignal
ProcessSignalIntrospection
ProcessStart
ProcessStartExpr
ProfileReport
ProfileStat
Program
ProjectedBindingError
ProjectedBindings
ProjectedValue
Record
ResourceHandle
ResourceOperation
ResourceOperationBatch
ResourceOperationBatchResult
ResourceOperationBinding
ResourceOperationIntrospection
ResourceRefExpr
ResourceTypeCatalog
ResourceTypeIntrospection
RuntimeFailure
Sleep
Snapshot
Span
State
Token
TriggerCancelRequest
TriggerCompatibility
TriggerCompatibilityRequest
TriggerInputTemplate
TriggerListRequest
TriggerRegistrationRequest
TriggerSourceBinding
TriggerSourceIntrospection
TypeDecl
TypeField
TypeView
ValueConstructorBinding
ValueConstructorIntrospection
ValueProjectionContext
VariableVersion
Vm
VmContinuation
A complete, code-independent snapshot of a suspended bytecode VM.
VmIteratorContinuation
VmProfileContinuation
WorkflowEdge
WorkflowExecutionSite
Stable source-level location carried by runtime sites for workflow-graph joins.
WorkflowGraph
The single serializable graph document used for editing and run overlays.
WorkflowNode
WorkflowNodeId
A deterministic node identifier minted from canonical source and AST position.
WorkflowProcess
A named process is a container with its own child subgraph.
WorkflowSubgraph

Enums§

AbilityOp
AbilityResult
ArtifactStoreError
AssignPathStep
BinaryOp
CanonicalSourceError
Error returned when canonical IR cannot be represented as Lashlang source.
ContinuationError
Declaration
DurabilityTier
Durability tier of an execution path’s wired store or effect host.
ExecutableProgram
ExecutionMode
ExecutionOutcome
Expr
GraphRenderError
HostDescriptorError
LashlangExecutionObservation
LashlangHostCatalogError
LexError
LinkError
LinkedProgramCacheError
ListComprehensionClause
ModuleArtifactError
ModuleCompileError
ModuleCompileStage
ModuleIntrospectionError
NamedDataTypeError
ParseError
ProcessBranchSelection
ProcessDefinitionIdentityError
ProcessEventKind
ProjectedReadRequest
ProjectedReadResponse
ResourceOperationResult
RuntimeError
SleepKind
TokenKind
TriggerCompatibilityError
TriggerHostOperation
TriggerInputBinding
TypeExpr
UnaryOp
Value
VmIteratorCursor
VmRunOutcome
WorkflowContainer
WorkflowDeclaration
WorkflowEdgeKind
WorkflowEffectKind
WorkflowGraphBuildError
WorkflowListComprehensionClause
One editable list-comprehension clause.
WorkflowNodeKind
WorkflowNodeNameSource
WorkflowTerminalKind

Constants§

BYTECODE_FORMAT_VERSION
Version of the compiled bytecode contract used for durable continuations. Increment whenever identical source/artifact identities may compile to a continuation-incompatible instruction stream.
LASHLANG_COMPILER_VERSION
LASHLANG_SEMANTIC_HASH_VERSION
LASHLANG_VM_ABI_VERSION
LASH_HOST_DESCRIPTOR_TYPE_KEY
LASH_HOST_DESCRIPTOR_VALUE_KEY
LASH_HOST_REQUIREMENTS_REF_KEY
LASH_MODULE_REF_KEY
LASH_PROCESS_NAME_KEY
LASH_PROCESS_REF_KEY
LASH_PROCESS_VALUE_KEY
LASH_TRIGGER_EVENT_KEY
LASH_TYPE_KEY
Marker key that wraps a Type literal at its outermost level so a host-side consumer can tell a Type value apart from a plain record. The inner value is the JSON-Schema representation of the type.
WORKFLOW_GRAPH_SCHEMA_VERSION
Version of the serialized workflow graph contract.

Traits§

ExecutionHost
ExprFolder
ExprVisitor
LashlangArtifactStore
ProjectedHostDescriptor
ValueProjector

Functions§

add_trigger_resource_operations
cancel_call_args
canonical_assign_target_source
Pretty-print one assignment target as canonical Lashlang source.
canonical_expression_source
Pretty-print one expression as canonical Lashlang source.
canonical_process_source
Pretty-print one process definition as a focused source fragment.
canonical_process_source_with_requirements
Pretty-print one process definition using the host requirements saved with the artifact.
canonical_program_ir
canonical_program_source
Pretty-print a canonical Lashlang program as source.
canonical_program_source_with_requirements
Pretty-print a canonical Lashlang program using the host requirements saved with the artifact.
check_trigger_compatibility
compile
compile_linked
compile_linked_process
compile_module
Parse, link, inspect, and optionally persist a Lashlang module.
compile_module_artifact_process
compile_process
event_type_for_source
execute
fold_expr_children
format_link_diagnostic
format_parse_diagnostic
format_runtime_diagnostic
format_type_expr
from_json
global_in_memory_lashlang_artifact_store
host_requirements_for_program
is_trigger_resource_type
lex
list_call_args
node_id_for_execution_site
Resolve a runtime execution site to the workflow node that owns it.
parse
parse_expression
Parse exactly one expression in workflow-editing context.
prewarm
process_ref_key
referenced_module_call_paths
Collect the module call-paths (module.operation, dotted for nested modules) that a parsed program references through receiver calls. This is the “gather” step of deferred tool resolution: the host resolver is asked to resolve any returned path that the link-time host environment does not already provide.
register_call_args
runtime_execution_site_for_workflow_site
Recreate the runtime identity for a graph execution-site descriptor.
trigger_event_placeholder_expr
unwrap_type_value
Unwrap a Value::Record that carries the $lash_type marker back into the inner JSON-Schema value. Returns None when the value is not a wrapped Type literal.
walk_expr
workflow_graph_from_source
Parse source, canonicalize it, and project it into a deterministic graph.
workflow_graph_to_source
Validate and render a graph through the canonical Lashlang source printer.

Type Aliases§

ProjectedFuture