Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SuspensionPlan ¶ added in v0.2.0
type SuspensionPlan struct {
Methods map[*ir.Method]bool
Calls map[*ir.Call]bool
Expressions map[ir.Expression]bool
Iterations map[*ir.Iterate]bool
StructuredBlocks map[*ir.StructuredBlock]bool
}
SuspensionPlan is backend-owned analysis data. It deliberately does not make suspension part of TypeRB syntax, checking, or shared semantics. TypeScript generation uses it to preserve sequential TypeRB evaluation over Promise-based native APIs.
func AnalyzeSuspension ¶ added in v0.2.0
func AnalyzeSuspension(programs []*ir.Program) (*SuspensionPlan, error)
Click to show internal directories.
Click to hide internal directories.