scripting_workspace library

Classes

AsTranslation
Result of ScriptingWorkspace.requestTranslateToAs.
AsTranslationNote
One note from the Luau to AnimaScript translator, anchored to the Luau source; fatal ones stop the translation.
AutocompleteEntry
AutocompleteResult
CompileAndSignResult
CompiledModule
CompileResult
DefinitionResult
FindInFilesMatch
FindInFilesResult
FormatOp
FormatOpErase
FormatOpInsert
FormatResult
HighlightDiffEntry
HighlightResult
HighlightScopeStyle
ImplementedProtocolClass
One exported protocol class of an AnimaScript script that exports several; each routes as script#Class.
ImplementedType
ImplementedTypeProperty
RegisteredModule
ScriptFindResults
ScriptingWorkspace
A workspace represents a collection of files that are likely related (usually part of a single Rive file).
ScriptingWorkspaceResponseResult
ScriptPosition
ScriptProblem
ScriptProblemResult
ScriptRange
ShaderCompileError
A per-source shader-bake failure reported by ScriptingWorkspace.compileAndSign (e.g. a shader that requested an HLSL variant but failed to compile it). When present, the corresponding shader was NOT embedded for that backend.
VMResult
WasmModuleResult
Result of ScriptingWorkspace.requestCompileWasmAs: the module every AnimaScript source baked into, or the compile error.

Enums

DebugLevel
HighlightDiffChangeType
HighlightResultType
HighlightScope
InsertionCompletion
OptimizationLevel
PropertyType
ScriptProblemSeverity
Per-record severity. The report's buckets only split errors from warnings; hints need their own value. Mirrors ProblemSeverity.
ScriptProblemTool
Which analyzer produced a problem. Mirrors the workspace's ProblemSource; named Tool because the editor already has a ScriptProblemSource class.
ScriptProblemType
WasmAotStatus
Whether a bake left an -O3 artifact for the VM booted from it, or why that VM runs on the interpreter instead.
WasmSimd
Which WebAssembly SIMD an AnimaScript bake may emit. The order is the Backboard's wasmSimd values.

Constants

wasmModuleAsScriptName → const String
The module entry a signing result carries when its scripts include AnimaScript: the wasm module they baked into, written to the runtime file as the ScriptModuleAsset of that name.

Exceptions / Errors

ScriptingWorkspaceClosedError
An error thrown when attempting to use a ScriptingWorkspace that has been closed or is in the process of closing.