Skip to main content

Module compile_result

Module compile_result 

Source

Structs§

BindingRenameInfo
A variable rename from lowering, serialized for the JS shim.
CodegenFunction
Codegen output for a single compiled function. Carries the generated AST fields needed to replace the original function.
CompilerErrorDetailInfo
Serializable error detail — flat plain object matching the TS formatDetailForLogging() output. All fields are direct properties.
CompilerErrorInfo
Structured error information for the JS shim.
CompilerErrorItemInfo
Individual error or hint item within a CompilerErrorDetailInfo.
DebugLogEntry
Debug log entry for debugLogIRs support. Currently only supports the ‘debug’ variant (string values).
LoggerPosition
LoggerSourceLocation
Source location with index and filename fields for logger event serialization. Matches the Babel SourceLocation format that the TS compiler emits in logger events.
LoggerSuggestionInfo
Serializable suggestion info for logger events.
OutlinedFunction
An outlined function extracted during compilation.

Enums§

CompileResult
Main result type returned by the compile function. Serialized to JSON and returned to the JS shim.
LoggerEvent
Logger events emitted during compilation. These are returned to JS for the logger callback.
LoggerSuggestionOp
Numeric enum matching TS CompilerSuggestionOperation.
OrderedLogItem
An item in the ordered log, which can be either a logger event or a debug entry.