Call
On this page

Call()

Function in Authoring

Push a call as a statement onto the innermost scope, kept for its effect and nothing else.

import { Call } from 'typeshade/core/ir'

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

Syntax

const Call: (node: ReadonlyNode) => void

Parameters

node ReadonlyNode

Return value

void

Description

A fn whose body writes a storage binding is called this way when its result is not wanted; without it the returned node is a discarded expression and nothing is emitted.

Examples

Example

Call(store(gid.x))

Source

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

Edit this page Report a problem