Skip to main content

Crate lashlang

Crate lashlang 

Source

Structs§

AssignTarget
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
LashlangMap
LashlangMapEdge
LashlangMapNode
LashlangMapOptions
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

Enums§

AbilityOp
AbilityResult
ArtifactStoreError
AssignPathStep
BinaryOp
CanonicalSourceError
Error returned when canonical IR cannot be represented as Lashlang source.
Declaration
DurabilityTier
Durability tier of an execution path’s wired store or effect host.
ExecutableProgram
ExecutionMode
ExecutionOutcome
Expr
HostDescriptorError
LashlangExecutionObservation
LashlangHostCatalogError
LexError
LinkError
LinkedProgramCacheError
ModuleArtifactError
ModuleCompileError
ModuleCompileStage
ModuleIntrospectionError
NamedDataTypeError
ParseError
ProcessBranchSelection
ProcessDefinitionIdentityError
ProcessEventKind
ProjectedReadRequest
ProjectedReadResponse
ResourceOperationResult
RuntimeError
SleepKind
TokenKind
TriggerCompatibilityError
TriggerHostOperation
TriggerInputBinding
TypeExpr
UnaryOp
Value

Constants§

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.

Traits§

ExecutionHost
ExprFolder
ExprVisitor
LashlangArtifactStore
ProjectedHostDescriptor

Functions§

add_trigger_resource_operations
cancel_call_args
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
map_lashlang_main
map_lashlang_process
parse
prewarm
process_ref_key
register_call_args
static_graph_json
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

Type Aliases§

ProjectedFuture