@elm-tooling/tree-sitter-elm
Advanced tools
Comparing version 5.4.0 to 5.4.1
428
index.d.ts
export interface Parser { | ||
parse( | ||
input: string | Input, | ||
previousTree?: Tree, | ||
options?: { bufferSize?: number; includedRanges?: Range[] } | ||
): Tree; | ||
parse(input: string | Input, previousTree?: Tree, options?: {bufferSize?: number, includedRanges?: Range[]}): Tree; | ||
getLanguage(): any; | ||
@@ -19,6 +15,6 @@ setLanguage(language: any): void; | ||
export type Range = { | ||
startIndex: number; | ||
endIndex: number; | ||
startPosition: Point; | ||
endPosition: Point; | ||
startIndex: number, | ||
endIndex: number, | ||
startPosition: Point, | ||
endPosition: Point | ||
}; | ||
@@ -37,3 +33,3 @@ | ||
message: string, | ||
params: { [param: string]: string }, | ||
params: {[param: string]: string}, | ||
type: "parse" | "lex" | ||
@@ -86,11 +82,4 @@ ) => void; | ||
namedDescendantForPosition(position: Point): SyntaxNode; | ||
namedDescendantForPosition( | ||
startPosition: Point, | ||
endPosition: Point | ||
): SyntaxNode; | ||
descendantsOfType<T extends TypeString>( | ||
types: T | readonly T[], | ||
startPosition?: Point, | ||
endPosition?: Point | ||
): NodeOfType<T>[]; | ||
namedDescendantForPosition(startPosition: Point, endPosition: Point): SyntaxNode; | ||
descendantsOfType<T extends TypeString>(types: T | readonly T[], startPosition?: Point, endPosition?: Point): NodeOfType<T>[]; | ||
@@ -109,5 +98,5 @@ closest<T extends SyntaxType>(types: T | readonly T[]): NamedNode<T> | null; | ||
endIndex: number; | ||
readonly currentNode: SyntaxNode; | ||
readonly currentNode: SyntaxNode | ||
reset(node: SyntaxNode): void; | ||
reset(node: SyntaxNode): void | ||
gotoParent(): boolean; | ||
@@ -129,3 +118,3 @@ gotoFirstChild(): boolean; | ||
interface NamedNodeBase extends SyntaxNodeBase { | ||
isNamed: true; | ||
isNamed: true; | ||
} | ||
@@ -139,8 +128,3 @@ | ||
type PickNamedType<Node, T extends string> = Node extends { | ||
type: T; | ||
isNamed: true; | ||
} | ||
? Node | ||
: never; | ||
type PickNamedType<Node, T extends string> = Node extends { type: T; isNamed: true } ? Node : never; | ||
@@ -150,6 +134,3 @@ type PickType<Node, T extends string> = Node extends { type: T } ? Node : never; | ||
/** A named node with the given `type` string. */ | ||
export type NamedNode<T extends SyntaxType = SyntaxType> = PickNamedType< | ||
SyntaxNode, | ||
T | ||
>; | ||
export type NamedNode<T extends SyntaxType = SyntaxType> = PickNamedType<SyntaxNode, T>; | ||
@@ -168,5 +149,3 @@ /** | ||
type TreeCursorRecord = { | ||
[K in TypeString]: TreeCursorOfType<K, NodeOfType<K>>; | ||
}; | ||
type TreeCursorRecord = { [K in TypeString]: TreeCursorOfType<K, NodeOfType<K>> }; | ||
@@ -198,4 +177,4 @@ /** | ||
export interface ErrorNode extends NamedNodeBase { | ||
type: SyntaxType.ERROR; | ||
hasError(): true; | ||
type: SyntaxType.ERROR; | ||
hasError(): true; | ||
} | ||
@@ -338,7 +317,8 @@ | ||
| "||" | ||
| "}"; | ||
| "}" | ||
; | ||
export type TypeString = SyntaxType | UnnamedType; | ||
export type SyntaxNode = | ||
export type SyntaxNode = | ||
| AnonymousFunctionExprNode | ||
@@ -475,27 +455,8 @@ | AnythingPatternNode | ||
| UnnamedNode<"}"> | ||
| ErrorNode; | ||
| ErrorNode | ||
; | ||
export interface AnonymousFunctionExprNode extends NamedNodeBase { | ||
type: SyntaxType.AnonymousFunctionExpr; | ||
exprNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
exprNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
paramNodes: PatternNode[]; | ||
@@ -515,24 +476,3 @@ } | ||
type: SyntaxType.BinOpExpr; | ||
partNodes: ( | ||
| AnonymousFunctionExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode | ||
)[]; | ||
partNodes: (AnonymousFunctionExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode)[]; | ||
} | ||
@@ -546,23 +486,3 @@ | ||
type: SyntaxType.CaseOfBranch; | ||
exprNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
exprNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
patternNode: PatternNode; | ||
@@ -574,23 +494,3 @@ } | ||
branchNodes: CaseOfBranchNode[]; | ||
exprNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
exprNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
} | ||
@@ -604,18 +504,3 @@ | ||
type: SyntaxType.ConsPattern; | ||
partNodes: ( | ||
| UnnamedNode<"("> | ||
| UnnamedNode<")"> | ||
| AnythingPatternNode | ||
| CharConstantExprNode | ||
| ConsPatternNode | ||
| ListPatternNode | ||
| LowerPatternNode | ||
| NumberConstantExprNode | ||
| PatternNode | ||
| RecordPatternNode | ||
| StringConstantExprNode | ||
| TuplePatternNode | ||
| UnionPatternNode | ||
| UnitExprNode | ||
)[]; | ||
partNodes: (UnnamedNode<"("> | UnnamedNode<")"> | AnythingPatternNode | CharConstantExprNode | ConsPatternNode | ListPatternNode | LowerPatternNode | NumberConstantExprNode | PatternNode | RecordPatternNode | StringConstantExprNode | TuplePatternNode | UnionPatternNode | UnitExprNode)[]; | ||
} | ||
@@ -647,23 +532,3 @@ | ||
type: SyntaxType.Field; | ||
expressionNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
expressionNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
nameNode: LowerCaseIdentifierNode; | ||
@@ -674,7 +539,3 @@ } | ||
type: SyntaxType.FieldAccessExpr; | ||
targetNode: | ||
| FieldAccessExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| ValueExprNode; | ||
targetNode: FieldAccessExprNode | ParenthesizedExprNode | RecordExprNode | ValueExprNode; | ||
} | ||
@@ -699,28 +560,4 @@ | ||
type: SyntaxType.FunctionCallExpr; | ||
argNodes: ( | ||
| AnonymousFunctionExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode | ||
)[]; | ||
targetNode: | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| ValueExprNode; | ||
argNodes: (AnonymousFunctionExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode)[]; | ||
targetNode: FieldAccessExprNode | FieldAccessorFunctionExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | ValueExprNode; | ||
} | ||
@@ -730,16 +567,3 @@ | ||
type: SyntaxType.FunctionDeclarationLeft; | ||
patternNodes: ( | ||
| UnnamedNode<"("> | ||
| UnnamedNode<")"> | ||
| AnythingPatternNode | ||
| CharConstantExprNode | ||
| ListPatternNode | ||
| LowerPatternNode | ||
| NumberConstantExprNode | ||
| PatternNode | ||
| RecordPatternNode | ||
| StringConstantExprNode | ||
| TuplePatternNode | ||
| UnitExprNode | ||
)[]; | ||
patternNodes: (UnnamedNode<"("> | UnnamedNode<")"> | AnythingPatternNode | CharConstantExprNode | ListPatternNode | LowerPatternNode | NumberConstantExprNode | PatternNode | RecordPatternNode | StringConstantExprNode | TuplePatternNode | UnitExprNode)[]; | ||
} | ||
@@ -754,24 +578,3 @@ | ||
type: SyntaxType.IfElseExpr; | ||
exprListNodes: ( | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode | ||
)[]; | ||
exprListNodes: (AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode)[]; | ||
} | ||
@@ -795,23 +598,3 @@ | ||
type: SyntaxType.LetInExpr; | ||
bodyNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
bodyNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
valueDeclarationNodes: ValueDeclarationNode[]; | ||
@@ -822,24 +605,3 @@ } | ||
type: SyntaxType.ListExpr; | ||
exprListNodes: ( | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode | ||
)[]; | ||
exprListNodes: (AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode)[]; | ||
} | ||
@@ -893,23 +655,3 @@ | ||
type: SyntaxType.ParenthesizedExpr; | ||
expressionNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
expressionNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
} | ||
@@ -919,15 +661,3 @@ | ||
type: SyntaxType.Pattern; | ||
childNode: | ||
| AnythingPatternNode | ||
| CharConstantExprNode | ||
| ConsPatternNode | ||
| ListPatternNode | ||
| LowerPatternNode | ||
| NumberConstantExprNode | ||
| PatternNode | ||
| RecordPatternNode | ||
| StringConstantExprNode | ||
| TuplePatternNode | ||
| UnionPatternNode | ||
| UnitExprNode; | ||
childNode: AnythingPatternNode | CharConstantExprNode | ConsPatternNode | ListPatternNode | LowerPatternNode | NumberConstantExprNode | PatternNode | RecordPatternNode | StringConstantExprNode | TuplePatternNode | UnionPatternNode | UnitExprNode; | ||
patternAsNode?: LowerPatternNode; | ||
@@ -969,24 +699,3 @@ } | ||
type: SyntaxType.TupleExpr; | ||
exprNodes: ( | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode | ||
)[]; | ||
exprNodes: (AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode)[]; | ||
} | ||
@@ -1027,9 +736,3 @@ | ||
type: SyntaxType.TypeExpression; | ||
partNodes: ( | ||
| RecordTypeNode | ||
| TupleTypeNode | ||
| TypeExpressionNode | ||
| TypeRefNode | ||
| TypeVariableNode | ||
)[]; | ||
partNodes: (RecordTypeNode | TupleTypeNode | TypeExpressionNode | TypeRefNode | TypeVariableNode)[]; | ||
} | ||
@@ -1039,9 +742,3 @@ | ||
type: SyntaxType.TypeRef; | ||
partNodes: ( | ||
| RecordTypeNode | ||
| TupleTypeNode | ||
| TypeExpressionNode | ||
| TypeRefNode | ||
| TypeVariableNode | ||
)[]; | ||
partNodes: (RecordTypeNode | TupleTypeNode | TypeExpressionNode | TypeRefNode | TypeVariableNode)[]; | ||
} | ||
@@ -1055,17 +752,3 @@ | ||
type: SyntaxType.UnionPattern; | ||
argPatternNodes: ( | ||
| UnnamedNode<"("> | ||
| UnnamedNode<")"> | ||
| AnythingPatternNode | ||
| CharConstantExprNode | ||
| ListPatternNode | ||
| LowerPatternNode | ||
| NullaryConstructorArgumentPatternNode | ||
| NumberConstantExprNode | ||
| PatternNode | ||
| RecordPatternNode | ||
| StringConstantExprNode | ||
| TuplePatternNode | ||
| UnitExprNode | ||
)[]; | ||
argPatternNodes: (UnnamedNode<"("> | UnnamedNode<")"> | AnythingPatternNode | CharConstantExprNode | ListPatternNode | LowerPatternNode | NullaryConstructorArgumentPatternNode | NumberConstantExprNode | PatternNode | RecordPatternNode | StringConstantExprNode | TuplePatternNode | UnitExprNode)[]; | ||
constructorNode: UpperCaseQidNode; | ||
@@ -1077,9 +760,3 @@ } | ||
nameNode: UpperCaseIdentifierNode; | ||
partNodes: ( | ||
| RecordTypeNode | ||
| TupleTypeNode | ||
| TypeExpressionNode | ||
| TypeRefNode | ||
| TypeVariableNode | ||
)[]; | ||
partNodes: (RecordTypeNode | TupleTypeNode | TypeExpressionNode | TypeRefNode | TypeVariableNode)[]; | ||
} | ||
@@ -1097,23 +774,3 @@ | ||
type: SyntaxType.ValueDeclaration; | ||
bodyNode: | ||
| AnonymousFunctionExprNode | ||
| BinOpExprNode | ||
| CaseOfExprNode | ||
| CharConstantExprNode | ||
| FieldAccessExprNode | ||
| FieldAccessorFunctionExprNode | ||
| FunctionCallExprNode | ||
| GlslCodeExprNode | ||
| IfElseExprNode | ||
| LetInExprNode | ||
| ListExprNode | ||
| NegateExprNode | ||
| NumberConstantExprNode | ||
| OperatorAsFunctionExprNode | ||
| ParenthesizedExprNode | ||
| RecordExprNode | ||
| StringConstantExprNode | ||
| TupleExprNode | ||
| UnitExprNode | ||
| ValueExprNode; | ||
bodyNode: AnonymousFunctionExprNode | BinOpExprNode | CaseOfExprNode | CharConstantExprNode | FieldAccessExprNode | FieldAccessorFunctionExprNode | FunctionCallExprNode | GlslCodeExprNode | IfElseExprNode | LetInExprNode | ListExprNode | NegateExprNode | NumberConstantExprNode | OperatorAsFunctionExprNode | ParenthesizedExprNode | RecordExprNode | StringConstantExprNode | TupleExprNode | UnitExprNode | ValueExprNode; | ||
functionDeclarationLeftNode?: FunctionDeclarationLeftNode; | ||
@@ -1255,1 +912,2 @@ patternNode?: PatternNode; | ||
} | ||
{ | ||
"name": "@elm-tooling/tree-sitter-elm", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Tree sitter definitions for elm", | ||
@@ -5,0 +5,0 @@ "main": "bindings/node", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1938461
8703