OverrideHandle
On this page

OverrideHandle

Interface in Authoring

The pair overrideConst returns for a pipeline specialization constant: .node reads the value, opaque to the optimizer, in any expression or branch condition, and .decl goes into module.

import type { OverrideHandle } from 'typeshade'
import type { OverrideHandle } from 'typeshade/core/ir'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

interface OverrideHandle<K extends string> {
readonly node: ReadonlyNode<K>;
readonly decl: OverrideDecl;
}

Instance properties

noderead only ReadonlyNode<K>
declread only OverrideDecl

See also

Source

src/core/ir/builder.ts, line 1191, at commit af54ddad5

Edit this page Report a problem