wgsl_reflect
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "wgsl_reflect", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "WGSL Parser and Reflection library", | ||
@@ -5,0 +5,0 @@ "author": "Brendan Duncan", |
@@ -445,2 +445,3 @@ export declare class ParseContext { | ||
search(callback: (node: Node) => void): void; | ||
evaluate(context: ParseContext): number; | ||
} | ||
@@ -447,0 +448,0 @@ /** |
@@ -100,2 +100,9 @@ import * as AST from "./wgsl_ast.js"; | ||
} | ||
export declare class OverrideInfo { | ||
name: string; | ||
type: TypeInfo | null; | ||
attributes: Array<AST.Attribute> | null; | ||
id: number; | ||
constructor(name: string, type: TypeInfo | null, attributes: Array<AST.Attribute> | null, id: number); | ||
} | ||
export declare class FunctionInfo { | ||
@@ -107,2 +114,3 @@ name: string; | ||
resources: Array<VariableInfo>; | ||
overrides: Array<OverrideInfo>; | ||
startLine: number; | ||
@@ -119,9 +127,2 @@ endLine: number; | ||
} | ||
export declare class OverrideInfo { | ||
name: string; | ||
type: TypeInfo | null; | ||
attributes: Array<AST.Attribute> | null; | ||
id: number; | ||
constructor(name: string, type: TypeInfo | null, attributes: Array<AST.Attribute> | null, id: number); | ||
} | ||
declare class _FunctionResources { | ||
@@ -128,0 +129,0 @@ node: AST.Function; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
342851
9525