diff --git a/package.json b/package.json index bcb000b..d051124 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "engines": { "node": ">=16" }, - "version": "4.1.0", + "version": "4.1.1", "type": "module", "description": "A GLSL ES 1.0 and 3.0 parser and preprocessor that can preserve whitespace and comments", "scripts": { diff --git a/src/ast/ast-types.ts b/src/ast/ast-types.ts index 8449d6f..fa96064 100644 --- a/src/ast/ast-types.ts +++ b/src/ast/ast-types.ts @@ -27,7 +27,7 @@ export interface BaseNode { location?: LocationObject; } -type Whitespace = string | string[]; +export type Whitespace = string | string[]; // Types reused across nodes export type TypeQualifiers = ( @@ -222,7 +222,7 @@ export interface FloatConstantNode extends BaseNode { whitespace: Whitespace; } -type SimpleStatement = +export type SimpleStatement = | ContinueStatementNode | BreakStatementNode | ReturnStatementNode