Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / FunctionCost

Interface: FunctionCost โ€‹

Defined in: core/report/cost/types.ts:4

Per-function cost: its own command count and any unbounded @e scans it makes.

Properties โ€‹

commands โ€‹

commands: number

Defined in: core/report/cost/types.ts:7

Non-blank, non-comment command lines in this function (calls included).


name โ€‹

name: string

Defined in: core/report/cost/types.ts:5


scanSources โ€‹

scanSources: (string | undefined)[]

Defined in: core/report/cost/types.ts:11

The author line behind each of unboundedScans, with debug.sources on.


unboundedScans โ€‹

unboundedScans: string[]

Defined in: core/report/cost/types.ts:9

Rendered selectors in this function that scan all entities (e.g. bare @e).

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.