type SymbolTable = {
modules?:
({
at: number,
symbols: string[],
name: string,
imports: ImportRef[],
})[],
declarations?: DeclarationRef[],
externals?: DeclarationRef[],
exports?: DeclarationRef[],
bindings?: DeclarationRef[],
types?: string[],
symbols?: string[],
visibles?: string[],
globals?: string[],
enables?: string[],
linkable?: Record<string, true>,
}
packages / shader / src / wgsl / types.ts