Call
이 페이지에서

Call()

함수, 작성 분류

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

import { Call } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const Call: (node: ReadonlyNode) => void

매개변수

node ReadonlyNode

반환값

void

설명

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.

예제

예제

Call(store(gid.x))

소스

src/core/ir/builder.ts, 1777행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고