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'

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

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 1458, at commit 26de7be8

Edit this page Report a problem