wgsl_reflect
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "wgsl_reflect", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "WGSL Parser and Reflection library", | ||
@@ -5,0 +5,0 @@ "author": "Brendan Duncan", |
@@ -281,2 +281,12 @@ export declare class ParseContext { | ||
/** | ||
* @class Requires | ||
* @extends Statement | ||
* @category AST | ||
*/ | ||
export declare class Requires extends Statement { | ||
extensions: string[]; | ||
constructor(extensions: string[]); | ||
get astNodeType(): string; | ||
} | ||
/** | ||
* @class Diagnostic | ||
@@ -283,0 +293,0 @@ * @extends Statement |
@@ -73,2 +73,3 @@ /** | ||
_enable_directive(): AST.Enable; | ||
_requires_directive(): AST.Requires; | ||
_type_alias(): AST.Alias; | ||
@@ -75,0 +76,0 @@ _type_decl(): AST.Type | null; |
@@ -86,6 +86,6 @@ export declare enum TokenClass { | ||
default: TokenType; | ||
diagnostic: TokenType; | ||
discard: TokenType; | ||
else: TokenType; | ||
enable: TokenType; | ||
diagnostic: TokenType; | ||
fallthrough: TokenType; | ||
@@ -105,2 +105,3 @@ false: TokenType; | ||
return: TokenType; | ||
requires: TokenType; | ||
storage: TokenType; | ||
@@ -107,0 +108,0 @@ switch: TokenType; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
341701
9458