ConsoleSite
이 페이지에서

ConsoleSite

인터페이스, 콘솔 분류

One console call the WGSL records: its method, where it was written, its arguments in the order written, and the words its entry takes.

import type { ConsoleSite } from 'typeshade'

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

구문

interface ConsoleSite {
readonly method: ConsoleMethod;
readonly span?: SourceSpan;
readonly args: readonly ({ readonly label: string } | { readonly shape: ConsoleShape })[];
readonly words: number;
}

인스턴스 속성

method읽기 전용 ConsoleMethod
span선택 사항읽기 전용 SourceSpan
args읽기 전용 readonly ({ readonly label: string } | { readonly shape: ConsoleShape })[]
words읽기 전용 number

소스

src/core/console.ts, 136행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고