Update ast-spec.txt and compile with new treegen
This commit is contained in:
parent
1636a3c6f4
commit
930bc57bc3
3 changed files with 4976 additions and 351 deletions
|
@ -84,7 +84,7 @@ node BoltBracketed > BoltPunctuated;
|
||||||
|
|
||||||
node BoltSourceFile > BoltSyntax, SourceFile {
|
node BoltSourceFile > BoltSyntax, SourceFile {
|
||||||
elements: Vec<BoltSourceElement>,
|
elements: Vec<BoltSourceElement>,
|
||||||
package: Package,
|
pkg: Package,
|
||||||
}
|
}
|
||||||
|
|
||||||
node BoltQualName > BoltSyntax {
|
node BoltQualName > BoltSyntax {
|
||||||
|
@ -101,7 +101,7 @@ node BoltTypeOfExpression > BoltTypeExpression {
|
||||||
|
|
||||||
node BoltReferenceTypeExpression > BoltTypeExpression {
|
node BoltReferenceTypeExpression > BoltTypeExpression {
|
||||||
name: BoltQualName,
|
name: BoltQualName,
|
||||||
arguments: Option<Vec<BoltTypeExpression>>,
|
typeArgs: Option<Vec<BoltTypeExpression>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
node BoltFunctionTypeExpression > BoltTypeExpression {
|
node BoltFunctionTypeExpression > BoltTypeExpression {
|
||||||
|
@ -265,7 +265,7 @@ node BoltDeclarationLike;
|
||||||
|
|
||||||
node BoltFunctionBodyElement > FunctionBodyElement;
|
node BoltFunctionBodyElement > FunctionBodyElement;
|
||||||
|
|
||||||
node BoltFunctionDeclaration > BoltFunctionBodyElement, BoltDeclaration, BoltDeclarationLike {
|
node BoltFunctionDeclaration > BoltFunctionBodyElement, BoltDeclaration, BoltDeclarationLike, BoltTraitOrImplElement {
|
||||||
modifiers: BoltModifiers,
|
modifiers: BoltModifiers,
|
||||||
target: String,
|
target: String,
|
||||||
name: BoltSymbol,
|
name: BoltSymbol,
|
||||||
|
@ -307,22 +307,25 @@ node BoltExportDirective > BoltSourceElement {
|
||||||
symbols: Option<Vec<BoltExportSymbol>>,
|
symbols: Option<Vec<BoltExportSymbol>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node BoltTraitOrImplElement;
|
||||||
|
|
||||||
node BoltTraitDeclaration > BoltDeclarationLike, BoltTypeDeclaration {
|
node BoltTraitDeclaration > BoltDeclarationLike, BoltTypeDeclaration {
|
||||||
modifiers: BoltModifiers,
|
modifiers: BoltModifiers,
|
||||||
name: BoltIdentifier,
|
|
||||||
typeParams: Option<Vec<BoltTypeParameter>>,
|
typeParams: Option<Vec<BoltTypeParameter>>,
|
||||||
elements: Vec<BoltDeclaration>,
|
name: BoltIdentifier,
|
||||||
|
typeBoundExpr: Option<BoltTypeExpression>,
|
||||||
|
elements: Option<Vec<BoltDeclaration>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
node BoltImplDeclaration > BoltTypeDeclaration, BoltDeclarationLike {
|
node BoltImplDeclaration > BoltTypeDeclaration, BoltDeclarationLike {
|
||||||
modifiers: BoltModifiers,
|
modifiers: BoltModifiers,
|
||||||
name: BoltIdentifier,
|
|
||||||
trait: BoltTypeExpression,
|
|
||||||
typeParams: Option<Vec<BoltTypeParameter>>,
|
typeParams: Option<Vec<BoltTypeParameter>>,
|
||||||
|
name: BoltIdentifier,
|
||||||
|
traitTypeExpr: Option<BoltTypeExpression>,
|
||||||
elements: Vec<BoltDeclaration>,
|
elements: Vec<BoltDeclaration>,
|
||||||
}
|
}
|
||||||
|
|
||||||
node BoltTypeAliasDeclaration > BoltDeclarationLike, BoltTypeDeclaration {
|
node BoltTypeAliasDeclaration > BoltDeclarationLike, BoltTypeDeclaration, BoltTraitOrImplElement {
|
||||||
modifiers: BoltModifiers,
|
modifiers: BoltModifiers,
|
||||||
name: BoltIdentifier,
|
name: BoltIdentifier,
|
||||||
typeParams: Option<Vec<BoltTypeParameter>>,
|
typeParams: Option<Vec<BoltTypeParameter>>,
|
||||||
|
@ -345,7 +348,7 @@ node BoltRecordDeclaration > BoltDeclaration, BoltTypeDeclaration, BoltDeclarati
|
||||||
|
|
||||||
node BoltSourceElement;
|
node BoltSourceElement;
|
||||||
|
|
||||||
node BoltMacroCall > BoltRecordMember, BoltStatement, BoltDeclaration, BoltExpression {
|
node BoltMacroCall > BoltRecordMember, BoltSourceElement, BoltTraitOrImplElement, BoltFunctionBodyElement {
|
||||||
name: BoltIdentifier,
|
name: BoltIdentifier,
|
||||||
text: String,
|
text: String,
|
||||||
}
|
}
|
||||||
|
@ -356,10 +359,6 @@ node JSSyntax;
|
||||||
|
|
||||||
node JSToken > JSSyntax, Token;
|
node JSToken > JSSyntax, Token;
|
||||||
|
|
||||||
node JSOperator > JSToken {
|
|
||||||
text: String,
|
|
||||||
}
|
|
||||||
|
|
||||||
node JSIdentifier > JSToken {
|
node JSIdentifier > JSToken {
|
||||||
text: String,
|
text: String,
|
||||||
}
|
}
|
||||||
|
@ -386,7 +385,11 @@ node JSFunctionKeyword > JSToken;
|
||||||
node JSWhileKeyword > JSToken;
|
node JSWhileKeyword > JSToken;
|
||||||
node JSForKeyword > JSToken;
|
node JSForKeyword > JSToken;
|
||||||
|
|
||||||
node JSOperator;
|
node JSOperatorLike;
|
||||||
|
|
||||||
|
node JSOperator > JSToken {
|
||||||
|
text: String,
|
||||||
|
}
|
||||||
|
|
||||||
node JSCloseBrace > JSToken;
|
node JSCloseBrace > JSToken;
|
||||||
node JSCloseBracket > JSToken;
|
node JSCloseBracket > JSToken;
|
||||||
|
@ -398,17 +401,17 @@ node JSSemi > JSToken;
|
||||||
node JSComma > JSToken;
|
node JSComma > JSToken;
|
||||||
node JSDot > JSToken;
|
node JSDot > JSToken;
|
||||||
node JSDotDotDot > JSToken;
|
node JSDotDotDot > JSToken;
|
||||||
node JSMulOp > JSToken, JSOperator;
|
node JSMulOp > JSToken, JSOperatorLike;
|
||||||
node JSAddOp > JSToken, JSOperator;
|
node JSAddOp > JSToken, JSOperatorLike;
|
||||||
node JSDivOp > JSToken, JSOperator;
|
node JSDivOp > JSToken, JSOperatorLike;
|
||||||
node JSSubOp > JSToken, JSOperator;
|
node JSSubOp > JSToken, JSOperatorLike;
|
||||||
node JSLtOp > JSToken, JSOperator;
|
node JSLtOp > JSToken, JSOperatorLike;
|
||||||
node JSGtOp > JSToken, JSOperator;
|
node JSGtOp > JSToken, JSOperatorLike;
|
||||||
node JSBOrOp > JSToken, JSOperator;
|
node JSBOrOp > JSToken, JSOperatorLike;
|
||||||
node JSBXorOp > JSToken, JSOperator;
|
node JSBXorOp > JSToken, JSOperatorLike;
|
||||||
node JSBAndOp > JSToken, JSOperator;
|
node JSBAndOp > JSToken, JSOperatorLike;
|
||||||
node JSBNotOp > JSToken, JSOperator;
|
node JSBNotOp > JSToken, JSOperatorLike;
|
||||||
node JSNotOp > JSToken, JSOperator;
|
node JSNotOp > JSToken, JSOperatorLike;
|
||||||
|
|
||||||
node JSPattern > JSSyntax;
|
node JSPattern > JSSyntax;
|
||||||
|
|
||||||
|
@ -445,7 +448,7 @@ node JSUnaryExpression > JSExpression {
|
||||||
|
|
||||||
node JSNewExpression > JSExpression {
|
node JSNewExpression > JSExpression {
|
||||||
target: JSExpression,
|
target: JSExpression,
|
||||||
arguments: Vec<JSExpression>,
|
args: Vec<JSExpression>,
|
||||||
}
|
}
|
||||||
|
|
||||||
node JSSequenceExpression > JSExpression {
|
node JSSequenceExpression > JSExpression {
|
||||||
|
|
475
src/ast.d.ts
vendored
475
src/ast.d.ts
vendored
|
@ -135,6 +135,7 @@ export class NodeVisitor {
|
||||||
protected visitJSFunctionKeyword?(node: JSFunctionKeyword): void;
|
protected visitJSFunctionKeyword?(node: JSFunctionKeyword): void;
|
||||||
protected visitJSWhileKeyword?(node: JSWhileKeyword): void;
|
protected visitJSWhileKeyword?(node: JSWhileKeyword): void;
|
||||||
protected visitJSForKeyword?(node: JSForKeyword): void;
|
protected visitJSForKeyword?(node: JSForKeyword): void;
|
||||||
|
protected visitJSOperator?(node: JSOperator): void;
|
||||||
protected visitJSCloseBrace?(node: JSCloseBrace): void;
|
protected visitJSCloseBrace?(node: JSCloseBrace): void;
|
||||||
protected visitJSCloseBracket?(node: JSCloseBracket): void;
|
protected visitJSCloseBracket?(node: JSCloseBracket): void;
|
||||||
protected visitJSCloseParen?(node: JSCloseParen): void;
|
protected visitJSCloseParen?(node: JSCloseParen): void;
|
||||||
|
@ -269,12 +270,12 @@ export const enum SyntaxKind {
|
||||||
BoltExportSymbol = 101,
|
BoltExportSymbol = 101,
|
||||||
BoltPlainExportSymbol = 102,
|
BoltPlainExportSymbol = 102,
|
||||||
BoltExportDirective = 103,
|
BoltExportDirective = 103,
|
||||||
BoltTraitDeclaration = 104,
|
BoltTraitDeclaration = 105,
|
||||||
BoltImplDeclaration = 105,
|
BoltImplDeclaration = 106,
|
||||||
BoltTypeAliasDeclaration = 106,
|
BoltTypeAliasDeclaration = 107,
|
||||||
BoltRecordField = 108,
|
BoltRecordField = 109,
|
||||||
BoltRecordDeclaration = 109,
|
BoltRecordDeclaration = 110,
|
||||||
BoltMacroCall = 111,
|
BoltMacroCall = 112,
|
||||||
JSIdentifier = 115,
|
JSIdentifier = 115,
|
||||||
JSString = 116,
|
JSString = 116,
|
||||||
JSInteger = 117,
|
JSInteger = 117,
|
||||||
|
@ -291,52 +292,53 @@ export const enum SyntaxKind {
|
||||||
JSFunctionKeyword = 128,
|
JSFunctionKeyword = 128,
|
||||||
JSWhileKeyword = 129,
|
JSWhileKeyword = 129,
|
||||||
JSForKeyword = 130,
|
JSForKeyword = 130,
|
||||||
JSCloseBrace = 132,
|
JSOperator = 132,
|
||||||
JSCloseBracket = 133,
|
JSCloseBrace = 133,
|
||||||
JSCloseParen = 134,
|
JSCloseBracket = 134,
|
||||||
JSOpenBrace = 135,
|
JSCloseParen = 135,
|
||||||
JSOpenBracket = 136,
|
JSOpenBrace = 136,
|
||||||
JSOpenParen = 137,
|
JSOpenBracket = 137,
|
||||||
JSSemi = 138,
|
JSOpenParen = 138,
|
||||||
JSComma = 139,
|
JSSemi = 139,
|
||||||
JSDot = 140,
|
JSComma = 140,
|
||||||
JSDotDotDot = 141,
|
JSDot = 141,
|
||||||
JSMulOp = 142,
|
JSDotDotDot = 142,
|
||||||
JSAddOp = 143,
|
JSMulOp = 143,
|
||||||
JSDivOp = 144,
|
JSAddOp = 144,
|
||||||
JSSubOp = 145,
|
JSDivOp = 145,
|
||||||
JSLtOp = 146,
|
JSSubOp = 146,
|
||||||
JSGtOp = 147,
|
JSLtOp = 147,
|
||||||
JSBOrOp = 148,
|
JSGtOp = 148,
|
||||||
JSBXorOp = 149,
|
JSBOrOp = 149,
|
||||||
JSBAndOp = 150,
|
JSBXorOp = 150,
|
||||||
JSBNotOp = 151,
|
JSBAndOp = 151,
|
||||||
JSNotOp = 152,
|
JSBNotOp = 152,
|
||||||
JSBindPattern = 154,
|
JSNotOp = 153,
|
||||||
JSConstantExpression = 156,
|
JSBindPattern = 155,
|
||||||
JSMemberExpression = 157,
|
JSConstantExpression = 157,
|
||||||
JSCallExpression = 158,
|
JSMemberExpression = 158,
|
||||||
JSBinaryExpression = 159,
|
JSCallExpression = 159,
|
||||||
JSUnaryExpression = 160,
|
JSBinaryExpression = 160,
|
||||||
JSNewExpression = 161,
|
JSUnaryExpression = 161,
|
||||||
JSSequenceExpression = 162,
|
JSNewExpression = 162,
|
||||||
JSConditionalExpression = 163,
|
JSSequenceExpression = 163,
|
||||||
JSLiteralExpression = 164,
|
JSConditionalExpression = 164,
|
||||||
JSReferenceExpression = 165,
|
JSLiteralExpression = 165,
|
||||||
JSCatchBlock = 169,
|
JSReferenceExpression = 166,
|
||||||
JSTryCatchStatement = 170,
|
JSCatchBlock = 170,
|
||||||
JSExpressionStatement = 171,
|
JSTryCatchStatement = 171,
|
||||||
JSConditionalCase = 172,
|
JSExpressionStatement = 172,
|
||||||
JSConditionalStatement = 173,
|
JSConditionalCase = 173,
|
||||||
JSReturnStatement = 174,
|
JSConditionalStatement = 174,
|
||||||
JSParameter = 175,
|
JSReturnStatement = 175,
|
||||||
JSImportStarBinding = 179,
|
JSParameter = 176,
|
||||||
JSImportAsBinding = 180,
|
JSImportStarBinding = 180,
|
||||||
JSImportDeclaration = 181,
|
JSImportAsBinding = 181,
|
||||||
JSFunctionDeclaration = 182,
|
JSImportDeclaration = 182,
|
||||||
JSArrowFunctionDeclaration = 183,
|
JSFunctionDeclaration = 183,
|
||||||
JSLetDeclaration = 184,
|
JSArrowFunctionDeclaration = 184,
|
||||||
JSSourceFile = 185,
|
JSLetDeclaration = 185,
|
||||||
|
JSSourceFile = 186,
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface EndOfFile extends SyntaxBase {
|
export interface EndOfFile extends SyntaxBase {
|
||||||
|
@ -407,6 +409,7 @@ export type Token
|
||||||
| JSFunctionKeyword
|
| JSFunctionKeyword
|
||||||
| JSWhileKeyword
|
| JSWhileKeyword
|
||||||
| JSForKeyword
|
| JSForKeyword
|
||||||
|
| JSOperator
|
||||||
| JSCloseBrace
|
| JSCloseBrace
|
||||||
| JSCloseBracket
|
| JSCloseBracket
|
||||||
| JSCloseParen
|
| JSCloseParen
|
||||||
|
@ -486,11 +489,11 @@ export type FunctionBodyElement
|
||||||
| JSReturnStatement
|
| JSReturnStatement
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltMacroCall
|
||||||
| BoltReturnStatement
|
| BoltReturnStatement
|
||||||
| BoltConditionalStatement
|
| BoltConditionalStatement
|
||||||
| BoltResumeStatement
|
| BoltResumeStatement
|
||||||
| BoltExpressionStatement
|
| BoltExpressionStatement
|
||||||
| BoltMacroCall
|
|
||||||
|
|
||||||
|
|
||||||
export type ReturnStatement
|
export type ReturnStatement
|
||||||
|
@ -2838,7 +2841,7 @@ export type BoltBracketedChild
|
||||||
export interface BoltSourceFile extends SyntaxBase {
|
export interface BoltSourceFile extends SyntaxBase {
|
||||||
kind: SyntaxKind.BoltSourceFile;
|
kind: SyntaxKind.BoltSourceFile;
|
||||||
elements: BoltSourceElement[];
|
elements: BoltSourceElement[];
|
||||||
package: Package;
|
pkg: Package;
|
||||||
parentNode: BoltSourceFileParent;
|
parentNode: BoltSourceFileParent;
|
||||||
getChildNodes(): IterableIterator<BoltSourceFileChild>
|
getChildNodes(): IterableIterator<BoltSourceFileChild>
|
||||||
}
|
}
|
||||||
|
@ -2894,6 +2897,7 @@ export type BoltTypeOfExpressionParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
|
@ -2909,13 +2913,13 @@ export type BoltTypeOfExpressionAnyParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltSourceFile
|
| BoltSourceFile
|
||||||
| BoltModule
|
| BoltModule
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltConditionalCase
|
| BoltConditionalCase
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
|
@ -2940,7 +2944,7 @@ export type BoltTypeOfExpressionChild
|
||||||
export interface BoltReferenceTypeExpression extends SyntaxBase {
|
export interface BoltReferenceTypeExpression extends SyntaxBase {
|
||||||
kind: SyntaxKind.BoltReferenceTypeExpression;
|
kind: SyntaxKind.BoltReferenceTypeExpression;
|
||||||
name: BoltQualName;
|
name: BoltQualName;
|
||||||
arguments: BoltTypeExpression[] | null;
|
typeArgs: BoltTypeExpression[] | null;
|
||||||
parentNode: BoltReferenceTypeExpressionParent;
|
parentNode: BoltReferenceTypeExpressionParent;
|
||||||
getChildNodes(): IterableIterator<BoltReferenceTypeExpressionChild>
|
getChildNodes(): IterableIterator<BoltReferenceTypeExpressionChild>
|
||||||
}
|
}
|
||||||
|
@ -2955,6 +2959,7 @@ export type BoltReferenceTypeExpressionParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
|
@ -2969,13 +2974,13 @@ export type BoltReferenceTypeExpressionAnyParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltSourceFile
|
| BoltSourceFile
|
||||||
| BoltModule
|
| BoltModule
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltConditionalCase
|
| BoltConditionalCase
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
|
@ -3016,6 +3021,7 @@ export type BoltFunctionTypeExpressionParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
|
@ -3030,13 +3036,13 @@ export type BoltFunctionTypeExpressionAnyParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltSourceFile
|
| BoltSourceFile
|
||||||
| BoltModule
|
| BoltModule
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltConditionalCase
|
| BoltConditionalCase
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
|
@ -3076,6 +3082,7 @@ export type BoltLiftedTypeExpressionParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
|
@ -3091,13 +3098,13 @@ export type BoltLiftedTypeExpressionAnyParent
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordField
|
| BoltRecordField
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltSourceFile
|
| BoltSourceFile
|
||||||
| BoltModule
|
| BoltModule
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltConditionalCase
|
| BoltConditionalCase
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
|
@ -3467,7 +3474,6 @@ export type BoltExpression
|
||||||
| BoltCaseExpression
|
| BoltCaseExpression
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltConstantExpression
|
| BoltConstantExpression
|
||||||
| BoltMacroCall
|
|
||||||
|
|
||||||
|
|
||||||
export interface BoltQuoteExpression extends SyntaxBase {
|
export interface BoltQuoteExpression extends SyntaxBase {
|
||||||
|
@ -4222,7 +4228,6 @@ export type BoltStatement
|
||||||
| BoltConditionalStatement
|
| BoltConditionalStatement
|
||||||
| BoltResumeStatement
|
| BoltResumeStatement
|
||||||
| BoltExpressionStatement
|
| BoltExpressionStatement
|
||||||
| BoltMacroCall
|
|
||||||
|
|
||||||
|
|
||||||
export interface BoltReturnStatement extends SyntaxBase {
|
export interface BoltReturnStatement extends SyntaxBase {
|
||||||
|
@ -4482,7 +4487,6 @@ export type BoltDeclaration
|
||||||
= BoltFunctionDeclaration
|
= BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltMacroCall
|
|
||||||
|
|
||||||
|
|
||||||
export type BoltTypeDeclaration
|
export type BoltTypeDeclaration
|
||||||
|
@ -4528,11 +4532,11 @@ export type BoltDeclarationLike
|
||||||
export type BoltFunctionBodyElement
|
export type BoltFunctionBodyElement
|
||||||
= BoltFunctionDeclaration
|
= BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
|
| BoltMacroCall
|
||||||
| BoltReturnStatement
|
| BoltReturnStatement
|
||||||
| BoltConditionalStatement
|
| BoltConditionalStatement
|
||||||
| BoltResumeStatement
|
| BoltResumeStatement
|
||||||
| BoltExpressionStatement
|
| BoltExpressionStatement
|
||||||
| BoltMacroCall
|
|
||||||
|
|
||||||
|
|
||||||
export interface BoltFunctionDeclaration extends SyntaxBase {
|
export interface BoltFunctionDeclaration extends SyntaxBase {
|
||||||
|
@ -4756,12 +4760,19 @@ export type BoltExportDirectiveAnyParent
|
||||||
export type BoltExportDirectiveChild
|
export type BoltExportDirectiveChild
|
||||||
= never
|
= never
|
||||||
|
|
||||||
|
export type BoltTraitOrImplElement
|
||||||
|
= BoltFunctionDeclaration
|
||||||
|
| BoltTypeAliasDeclaration
|
||||||
|
| BoltMacroCall
|
||||||
|
|
||||||
|
|
||||||
export interface BoltTraitDeclaration extends SyntaxBase {
|
export interface BoltTraitDeclaration extends SyntaxBase {
|
||||||
kind: SyntaxKind.BoltTraitDeclaration;
|
kind: SyntaxKind.BoltTraitDeclaration;
|
||||||
modifiers: BoltModifiers;
|
modifiers: BoltModifiers;
|
||||||
name: BoltIdentifier;
|
|
||||||
typeParams: BoltTypeParameter[] | null;
|
typeParams: BoltTypeParameter[] | null;
|
||||||
elements: BoltDeclaration[];
|
name: BoltIdentifier;
|
||||||
|
typeBoundExpr: BoltTypeExpression | null;
|
||||||
|
elements: BoltDeclaration[] | null;
|
||||||
parentNode: BoltTraitDeclarationParent;
|
parentNode: BoltTraitDeclarationParent;
|
||||||
getChildNodes(): IterableIterator<BoltTraitDeclarationChild>
|
getChildNodes(): IterableIterator<BoltTraitDeclarationChild>
|
||||||
}
|
}
|
||||||
|
@ -4782,9 +4793,9 @@ export type BoltTraitDeclarationChild
|
||||||
export interface BoltImplDeclaration extends SyntaxBase {
|
export interface BoltImplDeclaration extends SyntaxBase {
|
||||||
kind: SyntaxKind.BoltImplDeclaration;
|
kind: SyntaxKind.BoltImplDeclaration;
|
||||||
modifiers: BoltModifiers;
|
modifiers: BoltModifiers;
|
||||||
name: BoltIdentifier;
|
|
||||||
trait: BoltTypeExpression;
|
|
||||||
typeParams: BoltTypeParameter[] | null;
|
typeParams: BoltTypeParameter[] | null;
|
||||||
|
name: BoltIdentifier;
|
||||||
|
traitTypeExpr: BoltTypeExpression | null;
|
||||||
elements: BoltDeclaration[];
|
elements: BoltDeclaration[];
|
||||||
parentNode: BoltImplDeclarationParent;
|
parentNode: BoltImplDeclarationParent;
|
||||||
getChildNodes(): IterableIterator<BoltImplDeclarationChild>
|
getChildNodes(): IterableIterator<BoltImplDeclarationChild>
|
||||||
|
@ -4885,13 +4896,13 @@ export type BoltSourceElement
|
||||||
= BoltModule
|
= BoltModule
|
||||||
| BoltImportDirective
|
| BoltImportDirective
|
||||||
| BoltExportDirective
|
| BoltExportDirective
|
||||||
|
| BoltMacroCall
|
||||||
| BoltTraitDeclaration
|
| BoltTraitDeclaration
|
||||||
| BoltImplDeclaration
|
| BoltImplDeclaration
|
||||||
| BoltTypeAliasDeclaration
|
| BoltTypeAliasDeclaration
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
| BoltMacroCall
|
|
||||||
| BoltReturnStatement
|
| BoltReturnStatement
|
||||||
| BoltConditionalStatement
|
| BoltConditionalStatement
|
||||||
| BoltResumeStatement
|
| BoltResumeStatement
|
||||||
|
@ -4908,56 +4919,39 @@ export interface BoltMacroCall extends SyntaxBase {
|
||||||
|
|
||||||
export type BoltMacroCallParent
|
export type BoltMacroCallParent
|
||||||
= BoltSourceFile
|
= BoltSourceFile
|
||||||
| BoltTypeOfExpression
|
|
||||||
| BoltLiftedTypeExpression
|
|
||||||
| BoltExpressionPattern
|
|
||||||
| BoltTupleExpression
|
|
||||||
| BoltMemberExpression
|
|
||||||
| BoltFunctionExpression
|
| BoltFunctionExpression
|
||||||
| BoltCallExpression
|
|
||||||
| BoltYieldExpression
|
|
||||||
| BoltMatchArm
|
|
||||||
| BoltMatchExpression
|
|
||||||
| BoltCase
|
|
||||||
| BoltBlockExpression
|
| BoltBlockExpression
|
||||||
| BoltReturnStatement
|
|
||||||
| BoltConditionalCase
|
| BoltConditionalCase
|
||||||
| BoltResumeStatement
|
|
||||||
| BoltExpressionStatement
|
|
||||||
| BoltParameter
|
|
||||||
| BoltModule
|
| BoltModule
|
||||||
| BoltFunctionDeclaration
|
| BoltFunctionDeclaration
|
||||||
| BoltVariableDeclaration
|
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltImplDeclaration
|
|
||||||
| BoltRecordDeclaration
|
| BoltRecordDeclaration
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type BoltMacroCallAnyParent
|
export type BoltMacroCallAnyParent
|
||||||
= BoltSourceFile
|
= BoltSourceFile
|
||||||
|
| BoltFunctionExpression
|
||||||
|
| BoltBlockExpression
|
||||||
|
| BoltConditionalCase
|
||||||
|
| BoltModule
|
||||||
|
| BoltFunctionDeclaration
|
||||||
|
| BoltRecordDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
|
| BoltImplDeclaration
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
| BoltTupleExpression
|
| BoltTupleExpression
|
||||||
| BoltMemberExpression
|
| BoltMemberExpression
|
||||||
| BoltFunctionExpression
|
|
||||||
| BoltCallExpression
|
| BoltCallExpression
|
||||||
| BoltYieldExpression
|
| BoltYieldExpression
|
||||||
| BoltMatchArm
|
| BoltMatchArm
|
||||||
| BoltMatchExpression
|
| BoltMatchExpression
|
||||||
| BoltCase
|
| BoltCase
|
||||||
| BoltBlockExpression
|
|
||||||
| BoltReturnStatement
|
| BoltReturnStatement
|
||||||
| BoltConditionalCase
|
|
||||||
| BoltResumeStatement
|
| BoltResumeStatement
|
||||||
| BoltExpressionStatement
|
| BoltExpressionStatement
|
||||||
| BoltParameter
|
| BoltParameter
|
||||||
| BoltModule
|
|
||||||
| BoltFunctionDeclaration
|
|
||||||
| BoltVariableDeclaration
|
| BoltVariableDeclaration
|
||||||
| BoltTraitDeclaration
|
|
||||||
| BoltImplDeclaration
|
|
||||||
| BoltRecordDeclaration
|
|
||||||
| BoltTypePattern
|
| BoltTypePattern
|
||||||
| BoltTuplePatternElement
|
| BoltTuplePatternElement
|
||||||
| BoltRecordFieldPattern
|
| BoltRecordFieldPattern
|
||||||
|
@ -5015,6 +5009,7 @@ export type JSSyntax
|
||||||
| JSFunctionKeyword
|
| JSFunctionKeyword
|
||||||
| JSWhileKeyword
|
| JSWhileKeyword
|
||||||
| JSForKeyword
|
| JSForKeyword
|
||||||
|
| JSOperator
|
||||||
| JSCloseBrace
|
| JSCloseBrace
|
||||||
| JSCloseBracket
|
| JSCloseBracket
|
||||||
| JSCloseParen
|
| JSCloseParen
|
||||||
|
@ -5056,6 +5051,7 @@ export type JSToken
|
||||||
| JSFunctionKeyword
|
| JSFunctionKeyword
|
||||||
| JSWhileKeyword
|
| JSWhileKeyword
|
||||||
| JSForKeyword
|
| JSForKeyword
|
||||||
|
| JSOperator
|
||||||
| JSCloseBrace
|
| JSCloseBrace
|
||||||
| JSCloseBracket
|
| JSCloseBracket
|
||||||
| JSCloseParen
|
| JSCloseParen
|
||||||
|
@ -5079,20 +5075,6 @@ export type JSToken
|
||||||
| JSNotOp
|
| JSNotOp
|
||||||
|
|
||||||
|
|
||||||
export type JSOperator
|
|
||||||
= JSMulOp
|
|
||||||
| JSAddOp
|
|
||||||
| JSDivOp
|
|
||||||
| JSSubOp
|
|
||||||
| JSLtOp
|
|
||||||
| JSGtOp
|
|
||||||
| JSBOrOp
|
|
||||||
| JSBXorOp
|
|
||||||
| JSBAndOp
|
|
||||||
| JSBNotOp
|
|
||||||
| JSNotOp
|
|
||||||
|
|
||||||
|
|
||||||
export interface JSIdentifier extends SyntaxBase {
|
export interface JSIdentifier extends SyntaxBase {
|
||||||
kind: SyntaxKind.JSIdentifier;
|
kind: SyntaxKind.JSIdentifier;
|
||||||
text: string;
|
text: string;
|
||||||
|
@ -5896,7 +5878,7 @@ export type JSForKeywordAnyParent
|
||||||
export type JSForKeywordChild
|
export type JSForKeywordChild
|
||||||
= never
|
= never
|
||||||
|
|
||||||
export type JSOperator
|
export type JSOperatorLike
|
||||||
= JSMulOp
|
= JSMulOp
|
||||||
| JSAddOp
|
| JSAddOp
|
||||||
| JSDivOp
|
| JSDivOp
|
||||||
|
@ -5910,6 +5892,57 @@ export type JSOperator
|
||||||
| JSNotOp
|
| JSNotOp
|
||||||
|
|
||||||
|
|
||||||
|
export interface JSOperator extends SyntaxBase {
|
||||||
|
kind: SyntaxKind.JSOperator;
|
||||||
|
text: string;
|
||||||
|
parentNode: JSOperatorParent;
|
||||||
|
getChildNodes(): IterableIterator<JSOperatorChild>
|
||||||
|
}
|
||||||
|
|
||||||
|
export type JSOperatorParent
|
||||||
|
= BoltQuoteExpression
|
||||||
|
| never
|
||||||
|
|
||||||
|
export type JSOperatorAnyParent
|
||||||
|
= BoltQuoteExpression
|
||||||
|
| BoltTypeOfExpression
|
||||||
|
| BoltLiftedTypeExpression
|
||||||
|
| BoltExpressionPattern
|
||||||
|
| BoltTupleExpression
|
||||||
|
| BoltMemberExpression
|
||||||
|
| BoltCallExpression
|
||||||
|
| BoltYieldExpression
|
||||||
|
| BoltMatchArm
|
||||||
|
| BoltMatchExpression
|
||||||
|
| BoltCase
|
||||||
|
| BoltReturnStatement
|
||||||
|
| BoltConditionalCase
|
||||||
|
| BoltResumeStatement
|
||||||
|
| BoltExpressionStatement
|
||||||
|
| BoltParameter
|
||||||
|
| BoltVariableDeclaration
|
||||||
|
| BoltSourceFile
|
||||||
|
| BoltFunctionExpression
|
||||||
|
| BoltBlockExpression
|
||||||
|
| BoltModule
|
||||||
|
| BoltFunctionDeclaration
|
||||||
|
| BoltTraitDeclaration
|
||||||
|
| BoltImplDeclaration
|
||||||
|
| BoltTypePattern
|
||||||
|
| BoltTuplePatternElement
|
||||||
|
| BoltRecordFieldPattern
|
||||||
|
| BoltReferenceTypeExpression
|
||||||
|
| BoltFunctionTypeExpression
|
||||||
|
| BoltTypeParameter
|
||||||
|
| BoltRecordPattern
|
||||||
|
| BoltTypeAliasDeclaration
|
||||||
|
| BoltRecordField
|
||||||
|
| BoltRecordDeclaration
|
||||||
|
| never
|
||||||
|
|
||||||
|
export type JSOperatorChild
|
||||||
|
= never
|
||||||
|
|
||||||
export interface JSCloseBrace extends SyntaxBase {
|
export interface JSCloseBrace extends SyntaxBase {
|
||||||
kind: SyntaxKind.JSCloseBrace;
|
kind: SyntaxKind.JSCloseBrace;
|
||||||
parentNode: JSCloseBraceParent;
|
parentNode: JSCloseBraceParent;
|
||||||
|
@ -6418,29 +6451,10 @@ export interface JSMulOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSMulOpParent
|
export type JSMulOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSMulOpAnyParent
|
export type JSMulOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6487,29 +6501,10 @@ export interface JSAddOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSAddOpParent
|
export type JSAddOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSAddOpAnyParent
|
export type JSAddOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6556,29 +6551,10 @@ export interface JSDivOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSDivOpParent
|
export type JSDivOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSDivOpAnyParent
|
export type JSDivOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6625,29 +6601,10 @@ export interface JSSubOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSSubOpParent
|
export type JSSubOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSSubOpAnyParent
|
export type JSSubOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6694,29 +6651,10 @@ export interface JSLtOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSLtOpParent
|
export type JSLtOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSLtOpAnyParent
|
export type JSLtOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6763,29 +6701,10 @@ export interface JSGtOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSGtOpParent
|
export type JSGtOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSGtOpAnyParent
|
export type JSGtOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6832,29 +6751,10 @@ export interface JSBOrOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSBOrOpParent
|
export type JSBOrOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSBOrOpAnyParent
|
export type JSBOrOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6901,29 +6801,10 @@ export interface JSBXorOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSBXorOpParent
|
export type JSBXorOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSBXorOpAnyParent
|
export type JSBXorOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -6970,29 +6851,10 @@ export interface JSBAndOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSBAndOpParent
|
export type JSBAndOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSBAndOpAnyParent
|
export type JSBAndOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -7039,29 +6901,10 @@ export interface JSBNotOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSBNotOpParent
|
export type JSBNotOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSBNotOpAnyParent
|
export type JSBNotOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -7108,29 +6951,10 @@ export interface JSNotOp extends SyntaxBase {
|
||||||
|
|
||||||
export type JSNotOpParent
|
export type JSNotOpParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| never
|
| never
|
||||||
|
|
||||||
export type JSNotOpAnyParent
|
export type JSNotOpAnyParent
|
||||||
= BoltQuoteExpression
|
= BoltQuoteExpression
|
||||||
| JSBinaryExpression
|
|
||||||
| JSUnaryExpression
|
|
||||||
| JSMemberExpression
|
|
||||||
| JSCallExpression
|
|
||||||
| JSNewExpression
|
|
||||||
| JSSequenceExpression
|
|
||||||
| JSConditionalExpression
|
|
||||||
| JSExpressionStatement
|
|
||||||
| JSConditionalCase
|
|
||||||
| JSReturnStatement
|
|
||||||
| JSParameter
|
|
||||||
| JSArrowFunctionDeclaration
|
|
||||||
| JSLetDeclaration
|
|
||||||
| JSCatchBlock
|
|
||||||
| JSTryCatchStatement
|
|
||||||
| JSSourceFile
|
|
||||||
| JSFunctionDeclaration
|
|
||||||
| BoltTypeOfExpression
|
| BoltTypeOfExpression
|
||||||
| BoltLiftedTypeExpression
|
| BoltLiftedTypeExpression
|
||||||
| BoltExpressionPattern
|
| BoltExpressionPattern
|
||||||
|
@ -7445,7 +7269,7 @@ export type JSUnaryExpressionChild
|
||||||
export interface JSNewExpression extends SyntaxBase {
|
export interface JSNewExpression extends SyntaxBase {
|
||||||
kind: SyntaxKind.JSNewExpression;
|
kind: SyntaxKind.JSNewExpression;
|
||||||
target: JSExpression;
|
target: JSExpression;
|
||||||
arguments: JSExpression[];
|
args: JSExpression[];
|
||||||
parentNode: JSNewExpressionParent;
|
parentNode: JSNewExpressionParent;
|
||||||
getChildNodes(): IterableIterator<JSNewExpressionChild>
|
getChildNodes(): IterableIterator<JSNewExpressionChild>
|
||||||
}
|
}
|
||||||
|
@ -8127,6 +7951,7 @@ export type Syntax
|
||||||
| JSFunctionKeyword
|
| JSFunctionKeyword
|
||||||
| JSWhileKeyword
|
| JSWhileKeyword
|
||||||
| JSForKeyword
|
| JSForKeyword
|
||||||
|
| JSOperator
|
||||||
| JSCloseBrace
|
| JSCloseBrace
|
||||||
| JSCloseBracket
|
| JSCloseBracket
|
||||||
| JSCloseParen
|
| JSCloseParen
|
||||||
|
@ -8220,10 +8045,10 @@ export function createBoltImplKeyword(span?: TextSpan | null): BoltImplKeyword;
|
||||||
export function createBoltParenthesized(text: string, span?: TextSpan | null): BoltParenthesized;
|
export function createBoltParenthesized(text: string, span?: TextSpan | null): BoltParenthesized;
|
||||||
export function createBoltBraced(text: string, span?: TextSpan | null): BoltBraced;
|
export function createBoltBraced(text: string, span?: TextSpan | null): BoltBraced;
|
||||||
export function createBoltBracketed(text: string, span?: TextSpan | null): BoltBracketed;
|
export function createBoltBracketed(text: string, span?: TextSpan | null): BoltBracketed;
|
||||||
export function createBoltSourceFile(elements: BoltSourceElement[], package: Package, span?: TextSpan | null): BoltSourceFile;
|
export function createBoltSourceFile(elements: BoltSourceElement[], pkg: Package, span?: TextSpan | null): BoltSourceFile;
|
||||||
export function createBoltQualName(isAbsolute: boolean, modulePath: BoltIdentifier[], name: BoltSymbol, span?: TextSpan | null): BoltQualName;
|
export function createBoltQualName(isAbsolute: boolean, modulePath: BoltIdentifier[], name: BoltSymbol, span?: TextSpan | null): BoltQualName;
|
||||||
export function createBoltTypeOfExpression(expression: BoltExpression, span?: TextSpan | null): BoltTypeOfExpression;
|
export function createBoltTypeOfExpression(expression: BoltExpression, span?: TextSpan | null): BoltTypeOfExpression;
|
||||||
export function createBoltReferenceTypeExpression(name: BoltQualName, arguments: BoltTypeExpression[] | null, span?: TextSpan | null): BoltReferenceTypeExpression;
|
export function createBoltReferenceTypeExpression(name: BoltQualName, typeArgs: BoltTypeExpression[] | null, span?: TextSpan | null): BoltReferenceTypeExpression;
|
||||||
export function createBoltFunctionTypeExpression(params: BoltParameter[], returnType: BoltTypeExpression | null, span?: TextSpan | null): BoltFunctionTypeExpression;
|
export function createBoltFunctionTypeExpression(params: BoltParameter[], returnType: BoltTypeExpression | null, span?: TextSpan | null): BoltFunctionTypeExpression;
|
||||||
export function createBoltLiftedTypeExpression(expression: BoltExpression, span?: TextSpan | null): BoltLiftedTypeExpression;
|
export function createBoltLiftedTypeExpression(expression: BoltExpression, span?: TextSpan | null): BoltLiftedTypeExpression;
|
||||||
export function createBoltTypeParameter(index: number, name: BoltIdentifier, typeExpr: BoltTypeExpression | null, defaultType: BoltTypeExpression | null, span?: TextSpan | null): BoltTypeParameter;
|
export function createBoltTypeParameter(index: number, name: BoltIdentifier, typeExpr: BoltTypeExpression | null, defaultType: BoltTypeExpression | null, span?: TextSpan | null): BoltTypeParameter;
|
||||||
|
@ -8261,8 +8086,8 @@ export function createBoltImportDirective(modifiers: BoltModifiers, file: BoltSt
|
||||||
export function createBoltExportSymbol(span?: TextSpan | null): BoltExportSymbol;
|
export function createBoltExportSymbol(span?: TextSpan | null): BoltExportSymbol;
|
||||||
export function createBoltPlainExportSymbol(local: BoltQualName, remote: BoltSymbol, span?: TextSpan | null): BoltPlainExportSymbol;
|
export function createBoltPlainExportSymbol(local: BoltQualName, remote: BoltSymbol, span?: TextSpan | null): BoltPlainExportSymbol;
|
||||||
export function createBoltExportDirective(file: string, symbols: BoltExportSymbol[] | null, span?: TextSpan | null): BoltExportDirective;
|
export function createBoltExportDirective(file: string, symbols: BoltExportSymbol[] | null, span?: TextSpan | null): BoltExportDirective;
|
||||||
export function createBoltTraitDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, typeParams: BoltTypeParameter[] | null, elements: BoltDeclaration[], span?: TextSpan | null): BoltTraitDeclaration;
|
export function createBoltTraitDeclaration(modifiers: BoltModifiers, typeParams: BoltTypeParameter[] | null, name: BoltIdentifier, typeBoundExpr: BoltTypeExpression | null, elements: BoltDeclaration[] | null, span?: TextSpan | null): BoltTraitDeclaration;
|
||||||
export function createBoltImplDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, trait: BoltTypeExpression, typeParams: BoltTypeParameter[] | null, elements: BoltDeclaration[], span?: TextSpan | null): BoltImplDeclaration;
|
export function createBoltImplDeclaration(modifiers: BoltModifiers, typeParams: BoltTypeParameter[] | null, name: BoltIdentifier, traitTypeExpr: BoltTypeExpression | null, elements: BoltDeclaration[], span?: TextSpan | null): BoltImplDeclaration;
|
||||||
export function createBoltTypeAliasDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, typeParams: BoltTypeParameter[] | null, typeExpr: BoltTypeExpression, span?: TextSpan | null): BoltTypeAliasDeclaration;
|
export function createBoltTypeAliasDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, typeParams: BoltTypeParameter[] | null, typeExpr: BoltTypeExpression, span?: TextSpan | null): BoltTypeAliasDeclaration;
|
||||||
export function createBoltRecordField(name: BoltIdentifier, typeExpr: BoltTypeExpression, span?: TextSpan | null): BoltRecordField;
|
export function createBoltRecordField(name: BoltIdentifier, typeExpr: BoltTypeExpression, span?: TextSpan | null): BoltRecordField;
|
||||||
export function createBoltRecordDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, typeParms: BoltTypeParameter[] | null, members: BoltRecordMember[] | null, span?: TextSpan | null): BoltRecordDeclaration;
|
export function createBoltRecordDeclaration(modifiers: BoltModifiers, name: BoltIdentifier, typeParms: BoltTypeParameter[] | null, members: BoltRecordMember[] | null, span?: TextSpan | null): BoltRecordDeclaration;
|
||||||
|
@ -8283,6 +8108,7 @@ export function createJSExportKeyword(span?: TextSpan | null): JSExportKeyword;
|
||||||
export function createJSFunctionKeyword(span?: TextSpan | null): JSFunctionKeyword;
|
export function createJSFunctionKeyword(span?: TextSpan | null): JSFunctionKeyword;
|
||||||
export function createJSWhileKeyword(span?: TextSpan | null): JSWhileKeyword;
|
export function createJSWhileKeyword(span?: TextSpan | null): JSWhileKeyword;
|
||||||
export function createJSForKeyword(span?: TextSpan | null): JSForKeyword;
|
export function createJSForKeyword(span?: TextSpan | null): JSForKeyword;
|
||||||
|
export function createJSOperator(text: string, span?: TextSpan | null): JSOperator;
|
||||||
export function createJSCloseBrace(span?: TextSpan | null): JSCloseBrace;
|
export function createJSCloseBrace(span?: TextSpan | null): JSCloseBrace;
|
||||||
export function createJSCloseBracket(span?: TextSpan | null): JSCloseBracket;
|
export function createJSCloseBracket(span?: TextSpan | null): JSCloseBracket;
|
||||||
export function createJSCloseParen(span?: TextSpan | null): JSCloseParen;
|
export function createJSCloseParen(span?: TextSpan | null): JSCloseParen;
|
||||||
|
@ -8310,7 +8136,7 @@ export function createJSMemberExpression(value: JSExpression, property: JSIdenti
|
||||||
export function createJSCallExpression(operator: JSExpression, operands: JSExpression[], span?: TextSpan | null): JSCallExpression;
|
export function createJSCallExpression(operator: JSExpression, operands: JSExpression[], span?: TextSpan | null): JSCallExpression;
|
||||||
export function createJSBinaryExpression(left: JSExpression, operator: JSOperator, right: JSExpression, span?: TextSpan | null): JSBinaryExpression;
|
export function createJSBinaryExpression(left: JSExpression, operator: JSOperator, right: JSExpression, span?: TextSpan | null): JSBinaryExpression;
|
||||||
export function createJSUnaryExpression(operator: JSOperator, operand: JSExpression, span?: TextSpan | null): JSUnaryExpression;
|
export function createJSUnaryExpression(operator: JSOperator, operand: JSExpression, span?: TextSpan | null): JSUnaryExpression;
|
||||||
export function createJSNewExpression(target: JSExpression, arguments: JSExpression[], span?: TextSpan | null): JSNewExpression;
|
export function createJSNewExpression(target: JSExpression, args: JSExpression[], span?: TextSpan | null): JSNewExpression;
|
||||||
export function createJSSequenceExpression(expressions: JSExpression[], span?: TextSpan | null): JSSequenceExpression;
|
export function createJSSequenceExpression(expressions: JSExpression[], span?: TextSpan | null): JSSequenceExpression;
|
||||||
export function createJSConditionalExpression(test: JSExpression, consequent: JSExpression, alternate: JSExpression, span?: TextSpan | null): JSConditionalExpression;
|
export function createJSConditionalExpression(test: JSExpression, consequent: JSExpression, alternate: JSExpression, span?: TextSpan | null): JSConditionalExpression;
|
||||||
export function createJSLiteralExpression(value: JSValue, span?: TextSpan | null): JSLiteralExpression;
|
export function createJSLiteralExpression(value: JSValue, span?: TextSpan | null): JSLiteralExpression;
|
||||||
|
@ -8433,6 +8259,7 @@ export function isBoltImportDirective(value: any): value is BoltImportDirective;
|
||||||
export function isBoltExportSymbol(value: any): value is BoltExportSymbol;
|
export function isBoltExportSymbol(value: any): value is BoltExportSymbol;
|
||||||
export function isBoltPlainExportSymbol(value: any): value is BoltPlainExportSymbol;
|
export function isBoltPlainExportSymbol(value: any): value is BoltPlainExportSymbol;
|
||||||
export function isBoltExportDirective(value: any): value is BoltExportDirective;
|
export function isBoltExportDirective(value: any): value is BoltExportDirective;
|
||||||
|
export function isBoltTraitOrImplElement(value: any): value is BoltTraitOrImplElement;
|
||||||
export function isBoltTraitDeclaration(value: any): value is BoltTraitDeclaration;
|
export function isBoltTraitDeclaration(value: any): value is BoltTraitDeclaration;
|
||||||
export function isBoltImplDeclaration(value: any): value is BoltImplDeclaration;
|
export function isBoltImplDeclaration(value: any): value is BoltImplDeclaration;
|
||||||
export function isBoltTypeAliasDeclaration(value: any): value is BoltTypeAliasDeclaration;
|
export function isBoltTypeAliasDeclaration(value: any): value is BoltTypeAliasDeclaration;
|
||||||
|
@ -8443,7 +8270,6 @@ export function isBoltSourceElement(value: any): value is BoltSourceElement;
|
||||||
export function isBoltMacroCall(value: any): value is BoltMacroCall;
|
export function isBoltMacroCall(value: any): value is BoltMacroCall;
|
||||||
export function isJSSyntax(value: any): value is JSSyntax;
|
export function isJSSyntax(value: any): value is JSSyntax;
|
||||||
export function isJSToken(value: any): value is JSToken;
|
export function isJSToken(value: any): value is JSToken;
|
||||||
export function isJSOperator(value: any): value is JSOperator;
|
|
||||||
export function isJSIdentifier(value: any): value is JSIdentifier;
|
export function isJSIdentifier(value: any): value is JSIdentifier;
|
||||||
export function isJSString(value: any): value is JSString;
|
export function isJSString(value: any): value is JSString;
|
||||||
export function isJSInteger(value: any): value is JSInteger;
|
export function isJSInteger(value: any): value is JSInteger;
|
||||||
|
@ -8460,6 +8286,7 @@ export function isJSExportKeyword(value: any): value is JSExportKeyword;
|
||||||
export function isJSFunctionKeyword(value: any): value is JSFunctionKeyword;
|
export function isJSFunctionKeyword(value: any): value is JSFunctionKeyword;
|
||||||
export function isJSWhileKeyword(value: any): value is JSWhileKeyword;
|
export function isJSWhileKeyword(value: any): value is JSWhileKeyword;
|
||||||
export function isJSForKeyword(value: any): value is JSForKeyword;
|
export function isJSForKeyword(value: any): value is JSForKeyword;
|
||||||
|
export function isJSOperatorLike(value: any): value is JSOperatorLike;
|
||||||
export function isJSOperator(value: any): value is JSOperator;
|
export function isJSOperator(value: any): value is JSOperator;
|
||||||
export function isJSCloseBrace(value: any): value is JSCloseBrace;
|
export function isJSCloseBrace(value: any): value is JSCloseBrace;
|
||||||
export function isJSCloseBracket(value: any): value is JSCloseBracket;
|
export function isJSCloseBracket(value: any): value is JSCloseBracket;
|
||||||
|
|
4795
src/ast.js
Normal file
4795
src/ast.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue