prettier-plugin-java 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -102
- package/dist/index.cjs +2215 -0
- package/dist/index.d.cts +1630 -0
- package/dist/index.d.mts +1633 -0
- package/dist/index.mjs +2215 -0
- package/dist/tree-sitter-java_orchard.wasm +0 -0
- package/package.json +62 -24
- package/dist/comments.d.ts +0 -17
- package/dist/comments.js +0 -229
- package/dist/index.d.ts +0 -563
- package/dist/index.js +0 -29
- package/dist/options.d.ts +0 -43
- package/dist/options.js +0 -284
- package/dist/parser.d.ts +0 -9
- package/dist/parser.js +0 -24
- package/dist/printer.d.ts +0 -18
- package/dist/printer.js +0 -40
- package/dist/printers/arrays.d.ts +0 -9
- package/dist/printers/arrays.js +0 -9
- package/dist/printers/blocks-and-statements.d.ts +0 -117
- package/dist/printers/blocks-and-statements.js +0 -340
- package/dist/printers/classes.d.ts +0 -157
- package/dist/printers/classes.js +0 -485
- package/dist/printers/expressions.d.ts +0 -134
- package/dist/printers/expressions.js +0 -625
- package/dist/printers/helpers.d.ts +0 -73
- package/dist/printers/helpers.js +0 -273
- package/dist/printers/index.d.ts +0 -2
- package/dist/printers/index.js +0 -13
- package/dist/printers/interfaces.d.ts +0 -62
- package/dist/printers/interfaces.js +0 -175
- package/dist/printers/lexical-structure.d.ts +0 -14
- package/dist/printers/lexical-structure.js +0 -29
- package/dist/printers/names.d.ts +0 -12
- package/dist/printers/names.js +0 -11
- package/dist/printers/packages-and-modules.d.ts +0 -46
- package/dist/printers/packages-and-modules.js +0 -169
- package/dist/printers/types-values-and-variables.d.ts +0 -46
- package/dist/printers/types-values-and-variables.js +0 -90
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1630 @@
|
|
|
1
|
+
import * as _$prettier from "prettier";
|
|
2
|
+
import { AstPath, ParserOptions } from "prettier";
|
|
3
|
+
import * as _$prettier_doc_js0 from "prettier/doc.js";
|
|
4
|
+
//#region src/node-types.d.ts
|
|
5
|
+
interface Point {
|
|
6
|
+
index: number;
|
|
7
|
+
row: number;
|
|
8
|
+
column: number;
|
|
9
|
+
}
|
|
10
|
+
interface SyntaxNodeBase {
|
|
11
|
+
value: string;
|
|
12
|
+
start: Point;
|
|
13
|
+
end: Point;
|
|
14
|
+
comments?: CommentNode[];
|
|
15
|
+
}
|
|
16
|
+
interface NamedNodeBase extends SyntaxNodeBase {
|
|
17
|
+
isNamed: true;
|
|
18
|
+
fieldName: string | null;
|
|
19
|
+
children: SyntaxNode[];
|
|
20
|
+
namedChildren: NamedNode[];
|
|
21
|
+
}
|
|
22
|
+
interface UnnamedNode<T extends UnnamedType = UnnamedType> extends SyntaxNodeBase {
|
|
23
|
+
type: T;
|
|
24
|
+
isNamed: false;
|
|
25
|
+
fieldName: string | null;
|
|
26
|
+
}
|
|
27
|
+
interface CommentNode extends SyntaxNodeBase {
|
|
28
|
+
type: CommentType;
|
|
29
|
+
leading: boolean;
|
|
30
|
+
trailing: boolean;
|
|
31
|
+
printed: boolean;
|
|
32
|
+
enclosingNode?: SyntaxNode;
|
|
33
|
+
precedingNode?: SyntaxNode;
|
|
34
|
+
followingNode?: SyntaxNode;
|
|
35
|
+
}
|
|
36
|
+
type PickNamedType<Node, T extends SyntaxType> = Node extends {
|
|
37
|
+
type: T;
|
|
38
|
+
isNamed: true;
|
|
39
|
+
} ? Node : never;
|
|
40
|
+
type NamedNode<T extends NamedType = NamedType> = PickNamedType<SyntaxNode, T>;
|
|
41
|
+
declare const enum SyntaxType {
|
|
42
|
+
ERROR = "ERROR",
|
|
43
|
+
AnnotatedType = "annotated_type",
|
|
44
|
+
Annotation = "annotation",
|
|
45
|
+
AnnotationArgumentList = "annotation_argument_list",
|
|
46
|
+
AnnotationTypeBody = "annotation_type_body",
|
|
47
|
+
AnnotationTypeDeclaration = "annotation_type_declaration",
|
|
48
|
+
AnnotationTypeElementDeclaration = "annotation_type_element_declaration",
|
|
49
|
+
ArgumentList = "argument_list",
|
|
50
|
+
ArrayAccess = "array_access",
|
|
51
|
+
ArrayCreationExpression = "array_creation_expression",
|
|
52
|
+
ArrayInitializer = "array_initializer",
|
|
53
|
+
ArrayType = "array_type",
|
|
54
|
+
AssertStatement = "assert_statement",
|
|
55
|
+
AssignmentExpression = "assignment_expression",
|
|
56
|
+
Asterisk = "asterisk",
|
|
57
|
+
BinaryExpression = "binary_expression",
|
|
58
|
+
Block = "block",
|
|
59
|
+
BreakStatement = "break_statement",
|
|
60
|
+
CastExpression = "cast_expression",
|
|
61
|
+
CatchClause = "catch_clause",
|
|
62
|
+
CatchFormalParameter = "catch_formal_parameter",
|
|
63
|
+
CatchType = "catch_type",
|
|
64
|
+
ClassBody = "class_body",
|
|
65
|
+
ClassDeclaration = "class_declaration",
|
|
66
|
+
ClassLiteral = "class_literal",
|
|
67
|
+
CompactConstructorDeclaration = "compact_constructor_declaration",
|
|
68
|
+
ConstantDeclaration = "constant_declaration",
|
|
69
|
+
ConstructorBody = "constructor_body",
|
|
70
|
+
ConstructorDeclaration = "constructor_declaration",
|
|
71
|
+
ContinueStatement = "continue_statement",
|
|
72
|
+
Dimensions = "dimensions",
|
|
73
|
+
DimensionsExpr = "dimensions_expr",
|
|
74
|
+
DoStatement = "do_statement",
|
|
75
|
+
ElementValueArrayInitializer = "element_value_array_initializer",
|
|
76
|
+
ElementValuePair = "element_value_pair",
|
|
77
|
+
EnhancedForStatement = "enhanced_for_statement",
|
|
78
|
+
EnumBody = "enum_body",
|
|
79
|
+
EnumBodyDeclarations = "enum_body_declarations",
|
|
80
|
+
EnumConstant = "enum_constant",
|
|
81
|
+
EnumDeclaration = "enum_declaration",
|
|
82
|
+
ExplicitConstructorInvocation = "explicit_constructor_invocation",
|
|
83
|
+
ExportsModuleDirective = "exports_module_directive",
|
|
84
|
+
ExpressionStatement = "expression_statement",
|
|
85
|
+
ExtendsInterfaces = "extends_interfaces",
|
|
86
|
+
FieldAccess = "field_access",
|
|
87
|
+
FieldDeclaration = "field_declaration",
|
|
88
|
+
FinallyClause = "finally_clause",
|
|
89
|
+
FloatingPointType = "floating_point_type",
|
|
90
|
+
ForStatement = "for_statement",
|
|
91
|
+
FormalParameter = "formal_parameter",
|
|
92
|
+
FormalParameters = "formal_parameters",
|
|
93
|
+
GenericType = "generic_type",
|
|
94
|
+
Guard = "guard",
|
|
95
|
+
IfStatement = "if_statement",
|
|
96
|
+
ImportDeclaration = "import_declaration",
|
|
97
|
+
InferredParameters = "inferred_parameters",
|
|
98
|
+
InstanceofExpression = "instanceof_expression",
|
|
99
|
+
IntegralType = "integral_type",
|
|
100
|
+
InterfaceBody = "interface_body",
|
|
101
|
+
InterfaceDeclaration = "interface_declaration",
|
|
102
|
+
LabeledStatement = "labeled_statement",
|
|
103
|
+
LambdaExpression = "lambda_expression",
|
|
104
|
+
LocalVariableDeclaration = "local_variable_declaration",
|
|
105
|
+
MarkerAnnotation = "marker_annotation",
|
|
106
|
+
MethodDeclaration = "method_declaration",
|
|
107
|
+
MethodInvocation = "method_invocation",
|
|
108
|
+
MethodReference = "method_reference",
|
|
109
|
+
Modifier = "modifier",
|
|
110
|
+
Modifiers = "modifiers",
|
|
111
|
+
ModuleBody = "module_body",
|
|
112
|
+
ModuleDeclaration = "module_declaration",
|
|
113
|
+
MultilineStringFragment = "multiline_string_fragment",
|
|
114
|
+
ObjectCreationExpression = "object_creation_expression",
|
|
115
|
+
OpensModuleDirective = "opens_module_directive",
|
|
116
|
+
PackageDeclaration = "package_declaration",
|
|
117
|
+
ParenthesizedExpression = "parenthesized_expression",
|
|
118
|
+
Pattern = "pattern",
|
|
119
|
+
Permits = "permits",
|
|
120
|
+
Program = "program",
|
|
121
|
+
ProvidesModuleDirective = "provides_module_directive",
|
|
122
|
+
ReceiverParameter = "receiver_parameter",
|
|
123
|
+
RecordDeclaration = "record_declaration",
|
|
124
|
+
RecordPattern = "record_pattern",
|
|
125
|
+
RecordPatternBody = "record_pattern_body",
|
|
126
|
+
RecordPatternComponent = "record_pattern_component",
|
|
127
|
+
RequiresModifier = "requires_modifier",
|
|
128
|
+
RequiresModuleDirective = "requires_module_directive",
|
|
129
|
+
Resource = "resource",
|
|
130
|
+
ResourceSpecification = "resource_specification",
|
|
131
|
+
ReturnStatement = "return_statement",
|
|
132
|
+
ScopedIdentifier = "scoped_identifier",
|
|
133
|
+
ScopedTypeIdentifier = "scoped_type_identifier",
|
|
134
|
+
SpreadParameter = "spread_parameter",
|
|
135
|
+
StaticInitializer = "static_initializer",
|
|
136
|
+
StringInterpolation = "string_interpolation",
|
|
137
|
+
StringLiteral = "string_literal",
|
|
138
|
+
SuperInterfaces = "super_interfaces",
|
|
139
|
+
Superclass = "superclass",
|
|
140
|
+
SwitchBlock = "switch_block",
|
|
141
|
+
SwitchBlockStatementGroup = "switch_block_statement_group",
|
|
142
|
+
SwitchExpression = "switch_expression",
|
|
143
|
+
SwitchLabel = "switch_label",
|
|
144
|
+
SwitchRule = "switch_rule",
|
|
145
|
+
SynchronizedStatement = "synchronized_statement",
|
|
146
|
+
TemplateExpression = "template_expression",
|
|
147
|
+
TernaryExpression = "ternary_expression",
|
|
148
|
+
ThrowStatement = "throw_statement",
|
|
149
|
+
Throws = "throws",
|
|
150
|
+
TryStatement = "try_statement",
|
|
151
|
+
TryWithResourcesStatement = "try_with_resources_statement",
|
|
152
|
+
TypeArguments = "type_arguments",
|
|
153
|
+
TypeBound = "type_bound",
|
|
154
|
+
TypeList = "type_list",
|
|
155
|
+
TypeParameter = "type_parameter",
|
|
156
|
+
TypeParameters = "type_parameters",
|
|
157
|
+
TypePattern = "type_pattern",
|
|
158
|
+
UnaryExpression = "unary_expression",
|
|
159
|
+
UpdateExpression = "update_expression",
|
|
160
|
+
UsesModuleDirective = "uses_module_directive",
|
|
161
|
+
VariableDeclarator = "variable_declarator",
|
|
162
|
+
Visibility = "visibility",
|
|
163
|
+
WhileStatement = "while_statement",
|
|
164
|
+
Wildcard = "wildcard",
|
|
165
|
+
YieldStatement = "yield_statement",
|
|
166
|
+
BinaryIntegerLiteral = "binary_integer_literal",
|
|
167
|
+
BlockComment = "block_comment",
|
|
168
|
+
BooleanType = "boolean_type",
|
|
169
|
+
CharacterLiteral = "character_literal",
|
|
170
|
+
DecimalFloatingPointLiteral = "decimal_floating_point_literal",
|
|
171
|
+
DecimalIntegerLiteral = "decimal_integer_literal",
|
|
172
|
+
EscapeSequence = "escape_sequence",
|
|
173
|
+
False = "false",
|
|
174
|
+
HexFloatingPointLiteral = "hex_floating_point_literal",
|
|
175
|
+
HexIntegerLiteral = "hex_integer_literal",
|
|
176
|
+
Identifier = "identifier",
|
|
177
|
+
LineComment = "line_comment",
|
|
178
|
+
NullLiteral = "null_literal",
|
|
179
|
+
OctalIntegerLiteral = "octal_integer_literal",
|
|
180
|
+
StringFragment = "string_fragment",
|
|
181
|
+
Super = "super",
|
|
182
|
+
This = "this",
|
|
183
|
+
True = "true",
|
|
184
|
+
TypeIdentifier = "type_identifier",
|
|
185
|
+
UnderscorePattern = "underscore_pattern",
|
|
186
|
+
VoidType = "void_type"
|
|
187
|
+
}
|
|
188
|
+
type CommentType = SyntaxType.BlockComment | SyntaxType.LineComment;
|
|
189
|
+
type NamedType = Exclude<SyntaxType, CommentType>;
|
|
190
|
+
type UnnamedType = "!" | "!=" | '"' | '"""' | "%" | "%=" | "&" | "&&" | "&=" | "(" | ")" | "*" | "*=" | "+" | "++" | "+=" | "," | "-" | "--" | "-=" | "->" | "." | "..." | "/" | "/=" | ":" | "::" | ";" | "<" | "<<" | "<<=" | "<=" | "=" | "==" | ">" | ">=" | ">>" | ">>=" | ">>>" | ">>>=" | "?" | "@" | "@interface" | "[" | "\\{" | "]" | "^" | "^=" | "abstract" | "assert" | "break" | "byte" | "case" | "catch" | "char" | "class" | "continue" | "default" | "do" | "double" | "else" | "enum" | "exports" | "extends" | "final" | "finally" | "float" | "for" | "if" | "implements" | "import" | "instanceof" | "int" | "interface" | "long" | "module" | "native" | "new" | "non-sealed" | "open" | "opens" | "package" | "permits" | "private" | "protected" | "provides" | "public" | "record" | "requires" | "return" | "sealed" | "short" | "static" | "strictfp" | "switch" | "synchronized" | "throw" | "throws" | "to" | "transient" | "transitive" | "try" | "uses" | "volatile" | "when" | "while" | "with" | "yield" | "{" | "|" | "|=" | "||" | "}" | "~";
|
|
191
|
+
type SyntaxNode = ErrorNode | LiteralNode | SimpleTypeNode | TypeNode | UnannotatedTypeNode | DeclarationNode | ExpressionNode | ModuleDirectiveNode | PrimaryExpressionNode | StatementNode | AnnotatedTypeNode | AnnotationNode | AnnotationArgumentListNode | AnnotationTypeBodyNode | AnnotationTypeDeclarationNode | AnnotationTypeElementDeclarationNode | ArgumentListNode | ArrayAccessNode | ArrayCreationExpressionNode | ArrayInitializerNode | ArrayTypeNode | AssertStatementNode | AssignmentExpressionNode | AsteriskNode | BinaryExpressionNode | BlockNode | BreakStatementNode | CastExpressionNode | CatchClauseNode | CatchFormalParameterNode | CatchTypeNode | ClassBodyNode | ClassDeclarationNode | ClassLiteralNode | CompactConstructorDeclarationNode | ConstantDeclarationNode | ConstructorBodyNode | ConstructorDeclarationNode | ContinueStatementNode | DimensionsNode | DimensionsExprNode | DoStatementNode | ElementValueArrayInitializerNode | ElementValuePairNode | EnhancedForStatementNode | EnumBodyNode | EnumBodyDeclarationsNode | EnumConstantNode | EnumDeclarationNode | ExplicitConstructorInvocationNode | ExportsModuleDirectiveNode | ExpressionStatementNode | ExtendsInterfacesNode | FieldAccessNode | FieldDeclarationNode | FinallyClauseNode | FloatingPointTypeNode | ForStatementNode | FormalParameterNode | FormalParametersNode | GenericTypeNode | GuardNode | IfStatementNode | ImportDeclarationNode | InferredParametersNode | InstanceofExpressionNode | IntegralTypeNode | InterfaceBodyNode | InterfaceDeclarationNode | LabeledStatementNode | LambdaExpressionNode | LocalVariableDeclarationNode | MarkerAnnotationNode | MethodDeclarationNode | MethodInvocationNode | MethodReferenceNode | ModifierNode | ModifiersNode | ModuleBodyNode | ModuleDeclarationNode | MultilineStringFragmentNode | ObjectCreationExpressionNode | OpensModuleDirectiveNode | PackageDeclarationNode | ParenthesizedExpressionNode | PatternNode | PermitsNode | ProgramNode | ProvidesModuleDirectiveNode | ReceiverParameterNode | RecordDeclarationNode | RecordPatternNode | RecordPatternBodyNode | RecordPatternComponentNode | RequiresModifierNode | RequiresModuleDirectiveNode | ResourceNode | ResourceSpecificationNode | ReturnStatementNode | ScopedIdentifierNode | ScopedTypeIdentifierNode | SpreadParameterNode | StaticInitializerNode | StringInterpolationNode | StringLiteralNode | SuperInterfacesNode | SuperclassNode | SwitchBlockNode | SwitchBlockStatementGroupNode | SwitchExpressionNode | SwitchLabelNode | SwitchRuleNode | SynchronizedStatementNode | TemplateExpressionNode | TernaryExpressionNode | ThrowStatementNode | ThrowsNode | TryStatementNode | TryWithResourcesStatementNode | TypeArgumentsNode | TypeBoundNode | TypeListNode | TypeParameterNode | TypeParametersNode | TypePatternNode | UnaryExpressionNode | UpdateExpressionNode | UsesModuleDirectiveNode | VariableDeclaratorNode | VisibilityNode | WhileStatementNode | WildcardNode | YieldStatementNode | UnnamedNode<"!"> | UnnamedNode<"!="> | UnnamedNode<'"'> | UnnamedNode<'"""'> | UnnamedNode<"%"> | UnnamedNode<"%="> | UnnamedNode<"&"> | UnnamedNode<"&&"> | UnnamedNode<"&="> | UnnamedNode<"("> | UnnamedNode<")"> | UnnamedNode<"*"> | UnnamedNode<"*="> | UnnamedNode<"+"> | UnnamedNode<"++"> | UnnamedNode<"+="> | UnnamedNode<","> | UnnamedNode<"-"> | UnnamedNode<"--"> | UnnamedNode<"-="> | UnnamedNode<"->"> | UnnamedNode<"."> | UnnamedNode<"..."> | UnnamedNode<"/"> | UnnamedNode<"/="> | UnnamedNode<":"> | UnnamedNode<"::"> | UnnamedNode<";"> | UnnamedNode<"<"> | UnnamedNode<"<<"> | UnnamedNode<"<<="> | UnnamedNode<"<="> | UnnamedNode<"="> | UnnamedNode<"=="> | UnnamedNode<">"> | UnnamedNode<">="> | UnnamedNode<">>"> | UnnamedNode<">>="> | UnnamedNode<">>>"> | UnnamedNode<">>>="> | UnnamedNode<"?"> | UnnamedNode<"@"> | UnnamedNode<"@interface"> | UnnamedNode<"["> | UnnamedNode<"\\{"> | UnnamedNode<"]"> | UnnamedNode<"^"> | UnnamedNode<"^="> | UnnamedNode<"abstract"> | UnnamedNode<"assert"> | BinaryIntegerLiteralNode | BooleanTypeNode | UnnamedNode<"break"> | UnnamedNode<"byte"> | UnnamedNode<"case"> | UnnamedNode<"catch"> | UnnamedNode<"char"> | CharacterLiteralNode | UnnamedNode<"class"> | UnnamedNode<"continue"> | DecimalFloatingPointLiteralNode | DecimalIntegerLiteralNode | UnnamedNode<"default"> | UnnamedNode<"do"> | UnnamedNode<"double"> | UnnamedNode<"else"> | UnnamedNode<"enum"> | EscapeSequenceNode | UnnamedNode<"exports"> | UnnamedNode<"extends"> | FalseNode | UnnamedNode<"final"> | UnnamedNode<"finally"> | UnnamedNode<"float"> | UnnamedNode<"for"> | HexFloatingPointLiteralNode | HexIntegerLiteralNode | IdentifierNode | UnnamedNode<"if"> | UnnamedNode<"implements"> | UnnamedNode<"import"> | UnnamedNode<"instanceof"> | UnnamedNode<"int"> | UnnamedNode<"interface"> | UnnamedNode<"long"> | UnnamedNode<"module"> | UnnamedNode<"native"> | UnnamedNode<"new"> | UnnamedNode<"non-sealed"> | NullLiteralNode | OctalIntegerLiteralNode | UnnamedNode<"open"> | UnnamedNode<"opens"> | UnnamedNode<"package"> | UnnamedNode<"permits"> | UnnamedNode<"private"> | UnnamedNode<"protected"> | UnnamedNode<"provides"> | UnnamedNode<"public"> | UnnamedNode<"record"> | UnnamedNode<"requires"> | UnnamedNode<"return"> | UnnamedNode<"sealed"> | UnnamedNode<"short"> | UnnamedNode<"static"> | UnnamedNode<"strictfp"> | StringFragmentNode | SuperNode | UnnamedNode<"switch"> | UnnamedNode<"synchronized"> | ThisNode | UnnamedNode<"throw"> | UnnamedNode<"throws"> | UnnamedNode<"to"> | UnnamedNode<"transient"> | UnnamedNode<"transitive"> | TrueNode | UnnamedNode<"try"> | TypeIdentifierNode | UnderscorePatternNode | UnnamedNode<"uses"> | VoidTypeNode | UnnamedNode<"volatile"> | UnnamedNode<"when"> | UnnamedNode<"while"> | UnnamedNode<"with"> | UnnamedNode<"yield"> | UnnamedNode<"{"> | UnnamedNode<"|"> | UnnamedNode<"|="> | UnnamedNode<"||"> | UnnamedNode<"}"> | UnnamedNode<"~">;
|
|
192
|
+
interface ErrorNode extends NamedNodeBase {
|
|
193
|
+
type: SyntaxType.ERROR;
|
|
194
|
+
}
|
|
195
|
+
type LiteralNode = BinaryIntegerLiteralNode | CharacterLiteralNode | DecimalFloatingPointLiteralNode | DecimalIntegerLiteralNode | FalseNode | HexFloatingPointLiteralNode | HexIntegerLiteralNode | NullLiteralNode | OctalIntegerLiteralNode | StringLiteralNode | TrueNode;
|
|
196
|
+
type SimpleTypeNode = BooleanTypeNode | FloatingPointTypeNode | GenericTypeNode | IntegralTypeNode | ScopedTypeIdentifierNode | TypeIdentifierNode | VoidTypeNode;
|
|
197
|
+
type TypeNode = UnannotatedTypeNode | AnnotatedTypeNode;
|
|
198
|
+
type UnannotatedTypeNode = SimpleTypeNode | ArrayTypeNode;
|
|
199
|
+
type DeclarationNode = AnnotationTypeDeclarationNode | ClassDeclarationNode | EnumDeclarationNode | ImportDeclarationNode | InterfaceDeclarationNode | ModuleDeclarationNode | PackageDeclarationNode | RecordDeclarationNode;
|
|
200
|
+
type ExpressionNode = AssignmentExpressionNode | BinaryExpressionNode | CastExpressionNode | InstanceofExpressionNode | LambdaExpressionNode | PrimaryExpressionNode | SwitchExpressionNode | TernaryExpressionNode | UnaryExpressionNode | UpdateExpressionNode;
|
|
201
|
+
type ModuleDirectiveNode = ExportsModuleDirectiveNode | OpensModuleDirectiveNode | ProvidesModuleDirectiveNode | RequiresModuleDirectiveNode | UsesModuleDirectiveNode;
|
|
202
|
+
type PrimaryExpressionNode = LiteralNode | ArrayAccessNode | ArrayCreationExpressionNode | ClassLiteralNode | FieldAccessNode | IdentifierNode | MethodInvocationNode | MethodReferenceNode | ObjectCreationExpressionNode | ParenthesizedExpressionNode | TemplateExpressionNode | ThisNode;
|
|
203
|
+
type StatementNode = UnnamedNode<";"> | AssertStatementNode | BlockNode | BreakStatementNode | ContinueStatementNode | DeclarationNode | DoStatementNode | EnhancedForStatementNode | ExpressionStatementNode | ForStatementNode | IfStatementNode | LabeledStatementNode | LocalVariableDeclarationNode | ReturnStatementNode | SwitchExpressionNode | SynchronizedStatementNode | ThrowStatementNode | TryStatementNode | TryWithResourcesStatementNode | WhileStatementNode | YieldStatementNode;
|
|
204
|
+
interface AnnotatedTypeNode extends NamedNodeBase {
|
|
205
|
+
type: SyntaxType.AnnotatedType;
|
|
206
|
+
}
|
|
207
|
+
interface AnnotationNode extends NamedNodeBase {
|
|
208
|
+
type: SyntaxType.Annotation;
|
|
209
|
+
argumentsNode: AnnotationArgumentListNode;
|
|
210
|
+
nameNode: IdentifierNode | ScopedIdentifierNode;
|
|
211
|
+
}
|
|
212
|
+
interface AnnotationArgumentListNode extends NamedNodeBase {
|
|
213
|
+
type: SyntaxType.AnnotationArgumentList;
|
|
214
|
+
}
|
|
215
|
+
interface AnnotationTypeBodyNode extends NamedNodeBase {
|
|
216
|
+
type: SyntaxType.AnnotationTypeBody;
|
|
217
|
+
}
|
|
218
|
+
interface AnnotationTypeDeclarationNode extends NamedNodeBase {
|
|
219
|
+
type: SyntaxType.AnnotationTypeDeclaration;
|
|
220
|
+
bodyNode: AnnotationTypeBodyNode;
|
|
221
|
+
nameNode: IdentifierNode;
|
|
222
|
+
}
|
|
223
|
+
interface AnnotationTypeElementDeclarationNode extends NamedNodeBase {
|
|
224
|
+
type: SyntaxType.AnnotationTypeElementDeclaration;
|
|
225
|
+
dimensionsNode?: DimensionsNode;
|
|
226
|
+
nameNode: IdentifierNode;
|
|
227
|
+
typeNode: UnannotatedTypeNode;
|
|
228
|
+
valueNode?: AnnotationNode | ElementValueArrayInitializerNode | ExpressionNode | MarkerAnnotationNode;
|
|
229
|
+
}
|
|
230
|
+
interface ArgumentListNode extends NamedNodeBase {
|
|
231
|
+
type: SyntaxType.ArgumentList;
|
|
232
|
+
}
|
|
233
|
+
interface ArrayAccessNode extends NamedNodeBase {
|
|
234
|
+
type: SyntaxType.ArrayAccess;
|
|
235
|
+
arrayNode: PrimaryExpressionNode;
|
|
236
|
+
indexNode: ExpressionNode;
|
|
237
|
+
}
|
|
238
|
+
interface ArrayCreationExpressionNode extends NamedNodeBase {
|
|
239
|
+
type: SyntaxType.ArrayCreationExpression;
|
|
240
|
+
dimensionsNodes: (DimensionsNode | DimensionsExprNode)[];
|
|
241
|
+
typeNode: SimpleTypeNode;
|
|
242
|
+
valueNode?: ArrayInitializerNode;
|
|
243
|
+
}
|
|
244
|
+
interface ArrayInitializerNode extends NamedNodeBase {
|
|
245
|
+
type: SyntaxType.ArrayInitializer;
|
|
246
|
+
}
|
|
247
|
+
interface ArrayTypeNode extends NamedNodeBase {
|
|
248
|
+
type: SyntaxType.ArrayType;
|
|
249
|
+
dimensionsNode: DimensionsNode;
|
|
250
|
+
elementNode: UnannotatedTypeNode;
|
|
251
|
+
}
|
|
252
|
+
interface AssertStatementNode extends NamedNodeBase {
|
|
253
|
+
type: SyntaxType.AssertStatement;
|
|
254
|
+
}
|
|
255
|
+
interface AssignmentExpressionNode extends NamedNodeBase {
|
|
256
|
+
type: SyntaxType.AssignmentExpression;
|
|
257
|
+
leftNode: ArrayAccessNode | FieldAccessNode | IdentifierNode;
|
|
258
|
+
operatorNode: UnnamedNode<"%="> | UnnamedNode<"&="> | UnnamedNode<"*="> | UnnamedNode<"+="> | UnnamedNode<"-="> | UnnamedNode<"/="> | UnnamedNode<"<<="> | UnnamedNode<"="> | UnnamedNode<">>="> | UnnamedNode<">>>="> | UnnamedNode<"^="> | UnnamedNode<"|=">;
|
|
259
|
+
rightNode: ExpressionNode;
|
|
260
|
+
}
|
|
261
|
+
interface AsteriskNode extends NamedNodeBase {
|
|
262
|
+
type: SyntaxType.Asterisk;
|
|
263
|
+
}
|
|
264
|
+
interface BinaryExpressionNode extends NamedNodeBase {
|
|
265
|
+
type: SyntaxType.BinaryExpression;
|
|
266
|
+
leftNode: ExpressionNode;
|
|
267
|
+
operatorNode: UnnamedNode<"!="> | UnnamedNode<"%"> | UnnamedNode<"&"> | UnnamedNode<"&&"> | UnnamedNode<"*"> | UnnamedNode<"+"> | UnnamedNode<"-"> | UnnamedNode<"/"> | UnnamedNode<"<"> | UnnamedNode<"<<"> | UnnamedNode<"<="> | UnnamedNode<"=="> | UnnamedNode<">"> | UnnamedNode<">="> | UnnamedNode<">>"> | UnnamedNode<">>>"> | UnnamedNode<"^"> | UnnamedNode<"|"> | UnnamedNode<"||">;
|
|
268
|
+
rightNode: ExpressionNode;
|
|
269
|
+
}
|
|
270
|
+
interface BlockNode extends NamedNodeBase {
|
|
271
|
+
type: SyntaxType.Block;
|
|
272
|
+
}
|
|
273
|
+
interface BreakStatementNode extends NamedNodeBase {
|
|
274
|
+
type: SyntaxType.BreakStatement;
|
|
275
|
+
}
|
|
276
|
+
interface CastExpressionNode extends NamedNodeBase {
|
|
277
|
+
type: SyntaxType.CastExpression;
|
|
278
|
+
typeNodes: TypeNode[];
|
|
279
|
+
valueNode: ExpressionNode;
|
|
280
|
+
}
|
|
281
|
+
interface CatchClauseNode extends NamedNodeBase {
|
|
282
|
+
type: SyntaxType.CatchClause;
|
|
283
|
+
bodyNode: BlockNode;
|
|
284
|
+
}
|
|
285
|
+
interface CatchFormalParameterNode extends NamedNodeBase {
|
|
286
|
+
type: SyntaxType.CatchFormalParameter;
|
|
287
|
+
dimensionsNode?: DimensionsNode;
|
|
288
|
+
nameNode: IdentifierNode | UnderscorePatternNode;
|
|
289
|
+
}
|
|
290
|
+
interface CatchTypeNode extends NamedNodeBase {
|
|
291
|
+
type: SyntaxType.CatchType;
|
|
292
|
+
}
|
|
293
|
+
interface ClassBodyNode extends NamedNodeBase {
|
|
294
|
+
type: SyntaxType.ClassBody;
|
|
295
|
+
}
|
|
296
|
+
interface ClassDeclarationNode extends NamedNodeBase {
|
|
297
|
+
type: SyntaxType.ClassDeclaration;
|
|
298
|
+
bodyNode: ClassBodyNode;
|
|
299
|
+
interfacesNode?: SuperInterfacesNode;
|
|
300
|
+
nameNode: IdentifierNode;
|
|
301
|
+
permitsNode?: PermitsNode;
|
|
302
|
+
superclassNode?: SuperclassNode;
|
|
303
|
+
type_parametersNode?: TypeParametersNode;
|
|
304
|
+
}
|
|
305
|
+
interface ClassLiteralNode extends NamedNodeBase {
|
|
306
|
+
type: SyntaxType.ClassLiteral;
|
|
307
|
+
}
|
|
308
|
+
interface CompactConstructorDeclarationNode extends NamedNodeBase {
|
|
309
|
+
type: SyntaxType.CompactConstructorDeclaration;
|
|
310
|
+
bodyNode: BlockNode;
|
|
311
|
+
nameNode: IdentifierNode;
|
|
312
|
+
}
|
|
313
|
+
interface ConstantDeclarationNode extends NamedNodeBase {
|
|
314
|
+
type: SyntaxType.ConstantDeclaration;
|
|
315
|
+
declaratorNodes: VariableDeclaratorNode[];
|
|
316
|
+
typeNode: UnannotatedTypeNode;
|
|
317
|
+
}
|
|
318
|
+
interface ConstructorBodyNode extends NamedNodeBase {
|
|
319
|
+
type: SyntaxType.ConstructorBody;
|
|
320
|
+
}
|
|
321
|
+
interface ConstructorDeclarationNode extends NamedNodeBase {
|
|
322
|
+
type: SyntaxType.ConstructorDeclaration;
|
|
323
|
+
bodyNode: ConstructorBodyNode;
|
|
324
|
+
nameNode: IdentifierNode;
|
|
325
|
+
parametersNode: FormalParametersNode;
|
|
326
|
+
type_parametersNode?: TypeParametersNode;
|
|
327
|
+
}
|
|
328
|
+
interface ContinueStatementNode extends NamedNodeBase {
|
|
329
|
+
type: SyntaxType.ContinueStatement;
|
|
330
|
+
}
|
|
331
|
+
interface DimensionsNode extends NamedNodeBase {
|
|
332
|
+
type: SyntaxType.Dimensions;
|
|
333
|
+
}
|
|
334
|
+
interface DimensionsExprNode extends NamedNodeBase {
|
|
335
|
+
type: SyntaxType.DimensionsExpr;
|
|
336
|
+
}
|
|
337
|
+
interface DoStatementNode extends NamedNodeBase {
|
|
338
|
+
type: SyntaxType.DoStatement;
|
|
339
|
+
bodyNode: StatementNode;
|
|
340
|
+
conditionNode: ParenthesizedExpressionNode;
|
|
341
|
+
}
|
|
342
|
+
interface ElementValueArrayInitializerNode extends NamedNodeBase {
|
|
343
|
+
type: SyntaxType.ElementValueArrayInitializer;
|
|
344
|
+
}
|
|
345
|
+
interface ElementValuePairNode extends NamedNodeBase {
|
|
346
|
+
type: SyntaxType.ElementValuePair;
|
|
347
|
+
keyNode: IdentifierNode;
|
|
348
|
+
valueNode: AnnotationNode | ElementValueArrayInitializerNode | ExpressionNode | MarkerAnnotationNode;
|
|
349
|
+
}
|
|
350
|
+
interface EnhancedForStatementNode extends NamedNodeBase {
|
|
351
|
+
type: SyntaxType.EnhancedForStatement;
|
|
352
|
+
bodyNode: StatementNode;
|
|
353
|
+
dimensionsNode?: DimensionsNode;
|
|
354
|
+
nameNode: IdentifierNode | UnderscorePatternNode;
|
|
355
|
+
typeNode: UnannotatedTypeNode;
|
|
356
|
+
valueNode: ExpressionNode;
|
|
357
|
+
}
|
|
358
|
+
interface EnumBodyNode extends NamedNodeBase {
|
|
359
|
+
type: SyntaxType.EnumBody;
|
|
360
|
+
}
|
|
361
|
+
interface EnumBodyDeclarationsNode extends NamedNodeBase {
|
|
362
|
+
type: SyntaxType.EnumBodyDeclarations;
|
|
363
|
+
}
|
|
364
|
+
interface EnumConstantNode extends NamedNodeBase {
|
|
365
|
+
type: SyntaxType.EnumConstant;
|
|
366
|
+
argumentsNode?: ArgumentListNode;
|
|
367
|
+
bodyNode?: ClassBodyNode;
|
|
368
|
+
nameNode: IdentifierNode;
|
|
369
|
+
}
|
|
370
|
+
interface EnumDeclarationNode extends NamedNodeBase {
|
|
371
|
+
type: SyntaxType.EnumDeclaration;
|
|
372
|
+
bodyNode: EnumBodyNode;
|
|
373
|
+
interfacesNode?: SuperInterfacesNode;
|
|
374
|
+
nameNode: IdentifierNode;
|
|
375
|
+
}
|
|
376
|
+
interface ExplicitConstructorInvocationNode extends NamedNodeBase {
|
|
377
|
+
type: SyntaxType.ExplicitConstructorInvocation;
|
|
378
|
+
argumentsNode: ArgumentListNode;
|
|
379
|
+
constructorNode: SuperNode | ThisNode;
|
|
380
|
+
objectNode?: PrimaryExpressionNode;
|
|
381
|
+
type_argumentsNode?: TypeArgumentsNode;
|
|
382
|
+
}
|
|
383
|
+
interface ExportsModuleDirectiveNode extends NamedNodeBase {
|
|
384
|
+
type: SyntaxType.ExportsModuleDirective;
|
|
385
|
+
modulesNodes: (IdentifierNode | ScopedIdentifierNode)[];
|
|
386
|
+
packageNode: IdentifierNode | ScopedIdentifierNode;
|
|
387
|
+
}
|
|
388
|
+
interface ExpressionStatementNode extends NamedNodeBase {
|
|
389
|
+
type: SyntaxType.ExpressionStatement;
|
|
390
|
+
}
|
|
391
|
+
interface ExtendsInterfacesNode extends NamedNodeBase {
|
|
392
|
+
type: SyntaxType.ExtendsInterfaces;
|
|
393
|
+
}
|
|
394
|
+
interface FieldAccessNode extends NamedNodeBase {
|
|
395
|
+
type: SyntaxType.FieldAccess;
|
|
396
|
+
fieldNode: IdentifierNode | ThisNode;
|
|
397
|
+
objectNode: PrimaryExpressionNode | SuperNode;
|
|
398
|
+
}
|
|
399
|
+
interface FieldDeclarationNode extends NamedNodeBase {
|
|
400
|
+
type: SyntaxType.FieldDeclaration;
|
|
401
|
+
declaratorNodes: VariableDeclaratorNode[];
|
|
402
|
+
typeNode: UnannotatedTypeNode;
|
|
403
|
+
}
|
|
404
|
+
interface FinallyClauseNode extends NamedNodeBase {
|
|
405
|
+
type: SyntaxType.FinallyClause;
|
|
406
|
+
}
|
|
407
|
+
interface FloatingPointTypeNode extends NamedNodeBase {
|
|
408
|
+
type: SyntaxType.FloatingPointType;
|
|
409
|
+
}
|
|
410
|
+
interface ForStatementNode extends NamedNodeBase {
|
|
411
|
+
type: SyntaxType.ForStatement;
|
|
412
|
+
bodyNode: StatementNode;
|
|
413
|
+
conditionNode?: ExpressionNode;
|
|
414
|
+
initNodes: (ExpressionNode | LocalVariableDeclarationNode)[];
|
|
415
|
+
updateNodes: ExpressionNode[];
|
|
416
|
+
}
|
|
417
|
+
interface FormalParameterNode extends NamedNodeBase {
|
|
418
|
+
type: SyntaxType.FormalParameter;
|
|
419
|
+
dimensionsNode?: DimensionsNode;
|
|
420
|
+
nameNode: IdentifierNode | UnderscorePatternNode;
|
|
421
|
+
typeNode: UnannotatedTypeNode;
|
|
422
|
+
}
|
|
423
|
+
interface FormalParametersNode extends NamedNodeBase {
|
|
424
|
+
type: SyntaxType.FormalParameters;
|
|
425
|
+
}
|
|
426
|
+
interface GenericTypeNode extends NamedNodeBase {
|
|
427
|
+
type: SyntaxType.GenericType;
|
|
428
|
+
}
|
|
429
|
+
interface GuardNode extends NamedNodeBase {
|
|
430
|
+
type: SyntaxType.Guard;
|
|
431
|
+
}
|
|
432
|
+
interface IfStatementNode extends NamedNodeBase {
|
|
433
|
+
type: SyntaxType.IfStatement;
|
|
434
|
+
alternativeNode?: StatementNode;
|
|
435
|
+
conditionNode: ParenthesizedExpressionNode;
|
|
436
|
+
consequenceNode: StatementNode;
|
|
437
|
+
}
|
|
438
|
+
interface ImportDeclarationNode extends NamedNodeBase {
|
|
439
|
+
type: SyntaxType.ImportDeclaration;
|
|
440
|
+
}
|
|
441
|
+
interface InferredParametersNode extends NamedNodeBase {
|
|
442
|
+
type: SyntaxType.InferredParameters;
|
|
443
|
+
}
|
|
444
|
+
interface InstanceofExpressionNode extends NamedNodeBase {
|
|
445
|
+
type: SyntaxType.InstanceofExpression;
|
|
446
|
+
leftNode: ExpressionNode;
|
|
447
|
+
nameNode?: IdentifierNode;
|
|
448
|
+
patternNode?: RecordPatternNode;
|
|
449
|
+
rightNode?: UnannotatedTypeNode;
|
|
450
|
+
}
|
|
451
|
+
interface IntegralTypeNode extends NamedNodeBase {
|
|
452
|
+
type: SyntaxType.IntegralType;
|
|
453
|
+
}
|
|
454
|
+
interface InterfaceBodyNode extends NamedNodeBase {
|
|
455
|
+
type: SyntaxType.InterfaceBody;
|
|
456
|
+
}
|
|
457
|
+
interface InterfaceDeclarationNode extends NamedNodeBase {
|
|
458
|
+
type: SyntaxType.InterfaceDeclaration;
|
|
459
|
+
bodyNode: InterfaceBodyNode;
|
|
460
|
+
nameNode: IdentifierNode;
|
|
461
|
+
permitsNode?: PermitsNode;
|
|
462
|
+
type_parametersNode?: TypeParametersNode;
|
|
463
|
+
}
|
|
464
|
+
interface LabeledStatementNode extends NamedNodeBase {
|
|
465
|
+
type: SyntaxType.LabeledStatement;
|
|
466
|
+
}
|
|
467
|
+
interface LambdaExpressionNode extends NamedNodeBase {
|
|
468
|
+
type: SyntaxType.LambdaExpression;
|
|
469
|
+
bodyNode: BlockNode | ExpressionNode;
|
|
470
|
+
parametersNode: FormalParametersNode | IdentifierNode | InferredParametersNode;
|
|
471
|
+
}
|
|
472
|
+
interface LocalVariableDeclarationNode extends NamedNodeBase {
|
|
473
|
+
type: SyntaxType.LocalVariableDeclaration;
|
|
474
|
+
declaratorNodes: VariableDeclaratorNode[];
|
|
475
|
+
typeNode: UnannotatedTypeNode;
|
|
476
|
+
}
|
|
477
|
+
interface MarkerAnnotationNode extends NamedNodeBase {
|
|
478
|
+
type: SyntaxType.MarkerAnnotation;
|
|
479
|
+
nameNode: IdentifierNode | ScopedIdentifierNode;
|
|
480
|
+
}
|
|
481
|
+
interface MethodDeclarationNode extends NamedNodeBase {
|
|
482
|
+
type: SyntaxType.MethodDeclaration;
|
|
483
|
+
bodyNode?: BlockNode;
|
|
484
|
+
dimensionsNode?: DimensionsNode;
|
|
485
|
+
nameNode: IdentifierNode;
|
|
486
|
+
parametersNode: FormalParametersNode;
|
|
487
|
+
typeNode: UnannotatedTypeNode;
|
|
488
|
+
type_parametersNode?: TypeParametersNode;
|
|
489
|
+
}
|
|
490
|
+
interface MethodInvocationNode extends NamedNodeBase {
|
|
491
|
+
type: SyntaxType.MethodInvocation;
|
|
492
|
+
argumentsNode: ArgumentListNode;
|
|
493
|
+
nameNode: IdentifierNode;
|
|
494
|
+
objectNode?: PrimaryExpressionNode | SuperNode;
|
|
495
|
+
type_argumentsNode?: TypeArgumentsNode;
|
|
496
|
+
}
|
|
497
|
+
interface MethodReferenceNode extends NamedNodeBase {
|
|
498
|
+
type: SyntaxType.MethodReference;
|
|
499
|
+
}
|
|
500
|
+
interface ModifierNode extends NamedNodeBase {
|
|
501
|
+
type: SyntaxType.Modifier;
|
|
502
|
+
}
|
|
503
|
+
interface ModifiersNode extends NamedNodeBase {
|
|
504
|
+
type: SyntaxType.Modifiers;
|
|
505
|
+
}
|
|
506
|
+
interface ModuleBodyNode extends NamedNodeBase {
|
|
507
|
+
type: SyntaxType.ModuleBody;
|
|
508
|
+
}
|
|
509
|
+
interface ModuleDeclarationNode extends NamedNodeBase {
|
|
510
|
+
type: SyntaxType.ModuleDeclaration;
|
|
511
|
+
bodyNode: ModuleBodyNode;
|
|
512
|
+
nameNode: IdentifierNode | ScopedIdentifierNode;
|
|
513
|
+
}
|
|
514
|
+
interface MultilineStringFragmentNode extends NamedNodeBase {
|
|
515
|
+
type: SyntaxType.MultilineStringFragment;
|
|
516
|
+
}
|
|
517
|
+
interface ObjectCreationExpressionNode extends NamedNodeBase {
|
|
518
|
+
type: SyntaxType.ObjectCreationExpression;
|
|
519
|
+
argumentsNode: ArgumentListNode;
|
|
520
|
+
typeNode: SimpleTypeNode;
|
|
521
|
+
type_argumentsNode?: TypeArgumentsNode;
|
|
522
|
+
}
|
|
523
|
+
interface OpensModuleDirectiveNode extends NamedNodeBase {
|
|
524
|
+
type: SyntaxType.OpensModuleDirective;
|
|
525
|
+
modulesNodes: (IdentifierNode | ScopedIdentifierNode)[];
|
|
526
|
+
packageNode: IdentifierNode | ScopedIdentifierNode;
|
|
527
|
+
}
|
|
528
|
+
interface PackageDeclarationNode extends NamedNodeBase {
|
|
529
|
+
type: SyntaxType.PackageDeclaration;
|
|
530
|
+
}
|
|
531
|
+
interface ParenthesizedExpressionNode extends NamedNodeBase {
|
|
532
|
+
type: SyntaxType.ParenthesizedExpression;
|
|
533
|
+
}
|
|
534
|
+
interface PatternNode extends NamedNodeBase {
|
|
535
|
+
type: SyntaxType.Pattern;
|
|
536
|
+
}
|
|
537
|
+
interface PermitsNode extends NamedNodeBase {
|
|
538
|
+
type: SyntaxType.Permits;
|
|
539
|
+
}
|
|
540
|
+
interface ProgramNode extends NamedNodeBase {
|
|
541
|
+
type: SyntaxType.Program;
|
|
542
|
+
}
|
|
543
|
+
interface ProvidesModuleDirectiveNode extends NamedNodeBase {
|
|
544
|
+
type: SyntaxType.ProvidesModuleDirective;
|
|
545
|
+
providedNode: IdentifierNode | ScopedIdentifierNode;
|
|
546
|
+
providerNodes: (IdentifierNode | ScopedIdentifierNode)[];
|
|
547
|
+
}
|
|
548
|
+
interface ReceiverParameterNode extends NamedNodeBase {
|
|
549
|
+
type: SyntaxType.ReceiverParameter;
|
|
550
|
+
}
|
|
551
|
+
interface RecordDeclarationNode extends NamedNodeBase {
|
|
552
|
+
type: SyntaxType.RecordDeclaration;
|
|
553
|
+
bodyNode: ClassBodyNode;
|
|
554
|
+
interfacesNode?: SuperInterfacesNode;
|
|
555
|
+
nameNode: IdentifierNode;
|
|
556
|
+
parametersNode: FormalParametersNode;
|
|
557
|
+
type_parametersNode?: TypeParametersNode;
|
|
558
|
+
}
|
|
559
|
+
interface RecordPatternNode extends NamedNodeBase {
|
|
560
|
+
type: SyntaxType.RecordPattern;
|
|
561
|
+
}
|
|
562
|
+
interface RecordPatternBodyNode extends NamedNodeBase {
|
|
563
|
+
type: SyntaxType.RecordPatternBody;
|
|
564
|
+
}
|
|
565
|
+
interface RecordPatternComponentNode extends NamedNodeBase {
|
|
566
|
+
type: SyntaxType.RecordPatternComponent;
|
|
567
|
+
}
|
|
568
|
+
interface RequiresModifierNode extends NamedNodeBase {
|
|
569
|
+
type: SyntaxType.RequiresModifier;
|
|
570
|
+
}
|
|
571
|
+
interface RequiresModuleDirectiveNode extends NamedNodeBase {
|
|
572
|
+
type: SyntaxType.RequiresModuleDirective;
|
|
573
|
+
modifiersNodes: RequiresModifierNode[];
|
|
574
|
+
moduleNode: IdentifierNode | ScopedIdentifierNode;
|
|
575
|
+
}
|
|
576
|
+
interface ResourceNode extends NamedNodeBase {
|
|
577
|
+
type: SyntaxType.Resource;
|
|
578
|
+
dimensionsNode?: DimensionsNode;
|
|
579
|
+
nameNode?: IdentifierNode | UnderscorePatternNode;
|
|
580
|
+
typeNode?: UnannotatedTypeNode;
|
|
581
|
+
valueNode?: ExpressionNode;
|
|
582
|
+
}
|
|
583
|
+
interface ResourceSpecificationNode extends NamedNodeBase {
|
|
584
|
+
type: SyntaxType.ResourceSpecification;
|
|
585
|
+
}
|
|
586
|
+
interface ReturnStatementNode extends NamedNodeBase {
|
|
587
|
+
type: SyntaxType.ReturnStatement;
|
|
588
|
+
}
|
|
589
|
+
interface ScopedIdentifierNode extends NamedNodeBase {
|
|
590
|
+
type: SyntaxType.ScopedIdentifier;
|
|
591
|
+
nameNode: IdentifierNode;
|
|
592
|
+
scopeNode: IdentifierNode | ScopedIdentifierNode;
|
|
593
|
+
}
|
|
594
|
+
interface ScopedTypeIdentifierNode extends NamedNodeBase {
|
|
595
|
+
type: SyntaxType.ScopedTypeIdentifier;
|
|
596
|
+
}
|
|
597
|
+
interface SpreadParameterNode extends NamedNodeBase {
|
|
598
|
+
type: SyntaxType.SpreadParameter;
|
|
599
|
+
annotationsNodes: (AnnotationNode | MarkerAnnotationNode)[];
|
|
600
|
+
modifiersNode?: ModifiersNode;
|
|
601
|
+
typeNode: UnannotatedTypeNode;
|
|
602
|
+
}
|
|
603
|
+
interface StaticInitializerNode extends NamedNodeBase {
|
|
604
|
+
type: SyntaxType.StaticInitializer;
|
|
605
|
+
}
|
|
606
|
+
interface StringInterpolationNode extends NamedNodeBase {
|
|
607
|
+
type: SyntaxType.StringInterpolation;
|
|
608
|
+
}
|
|
609
|
+
interface StringLiteralNode extends NamedNodeBase {
|
|
610
|
+
type: SyntaxType.StringLiteral;
|
|
611
|
+
}
|
|
612
|
+
interface SuperInterfacesNode extends NamedNodeBase {
|
|
613
|
+
type: SyntaxType.SuperInterfaces;
|
|
614
|
+
}
|
|
615
|
+
interface SuperclassNode extends NamedNodeBase {
|
|
616
|
+
type: SyntaxType.Superclass;
|
|
617
|
+
}
|
|
618
|
+
interface SwitchBlockNode extends NamedNodeBase {
|
|
619
|
+
type: SyntaxType.SwitchBlock;
|
|
620
|
+
}
|
|
621
|
+
interface SwitchBlockStatementGroupNode extends NamedNodeBase {
|
|
622
|
+
type: SyntaxType.SwitchBlockStatementGroup;
|
|
623
|
+
}
|
|
624
|
+
interface SwitchExpressionNode extends NamedNodeBase {
|
|
625
|
+
type: SyntaxType.SwitchExpression;
|
|
626
|
+
bodyNode: SwitchBlockNode;
|
|
627
|
+
conditionNode: ParenthesizedExpressionNode;
|
|
628
|
+
}
|
|
629
|
+
interface SwitchLabelNode extends NamedNodeBase {
|
|
630
|
+
type: SyntaxType.SwitchLabel;
|
|
631
|
+
}
|
|
632
|
+
interface SwitchRuleNode extends NamedNodeBase {
|
|
633
|
+
type: SyntaxType.SwitchRule;
|
|
634
|
+
}
|
|
635
|
+
interface SynchronizedStatementNode extends NamedNodeBase {
|
|
636
|
+
type: SyntaxType.SynchronizedStatement;
|
|
637
|
+
bodyNode: BlockNode;
|
|
638
|
+
}
|
|
639
|
+
interface TemplateExpressionNode extends NamedNodeBase {
|
|
640
|
+
type: SyntaxType.TemplateExpression;
|
|
641
|
+
template_argumentNode: StringLiteralNode;
|
|
642
|
+
template_processorNode: PrimaryExpressionNode;
|
|
643
|
+
}
|
|
644
|
+
interface TernaryExpressionNode extends NamedNodeBase {
|
|
645
|
+
type: SyntaxType.TernaryExpression;
|
|
646
|
+
alternativeNode: ExpressionNode;
|
|
647
|
+
conditionNode: ExpressionNode;
|
|
648
|
+
consequenceNode: ExpressionNode;
|
|
649
|
+
}
|
|
650
|
+
interface ThrowStatementNode extends NamedNodeBase {
|
|
651
|
+
type: SyntaxType.ThrowStatement;
|
|
652
|
+
}
|
|
653
|
+
interface ThrowsNode extends NamedNodeBase {
|
|
654
|
+
type: SyntaxType.Throws;
|
|
655
|
+
}
|
|
656
|
+
interface TryStatementNode extends NamedNodeBase {
|
|
657
|
+
type: SyntaxType.TryStatement;
|
|
658
|
+
bodyNode: BlockNode;
|
|
659
|
+
}
|
|
660
|
+
interface TryWithResourcesStatementNode extends NamedNodeBase {
|
|
661
|
+
type: SyntaxType.TryWithResourcesStatement;
|
|
662
|
+
bodyNode: BlockNode;
|
|
663
|
+
resourcesNode: ResourceSpecificationNode;
|
|
664
|
+
}
|
|
665
|
+
interface TypeArgumentsNode extends NamedNodeBase {
|
|
666
|
+
type: SyntaxType.TypeArguments;
|
|
667
|
+
}
|
|
668
|
+
interface TypeBoundNode extends NamedNodeBase {
|
|
669
|
+
type: SyntaxType.TypeBound;
|
|
670
|
+
}
|
|
671
|
+
interface TypeListNode extends NamedNodeBase {
|
|
672
|
+
type: SyntaxType.TypeList;
|
|
673
|
+
}
|
|
674
|
+
interface TypeParameterNode extends NamedNodeBase {
|
|
675
|
+
type: SyntaxType.TypeParameter;
|
|
676
|
+
}
|
|
677
|
+
interface TypeParametersNode extends NamedNodeBase {
|
|
678
|
+
type: SyntaxType.TypeParameters;
|
|
679
|
+
}
|
|
680
|
+
interface TypePatternNode extends NamedNodeBase {
|
|
681
|
+
type: SyntaxType.TypePattern;
|
|
682
|
+
}
|
|
683
|
+
interface UnaryExpressionNode extends NamedNodeBase {
|
|
684
|
+
type: SyntaxType.UnaryExpression;
|
|
685
|
+
operandNode: ExpressionNode;
|
|
686
|
+
operatorNode: UnnamedNode<"!"> | UnnamedNode<"+"> | UnnamedNode<"-"> | UnnamedNode<"~">;
|
|
687
|
+
}
|
|
688
|
+
interface UpdateExpressionNode extends NamedNodeBase {
|
|
689
|
+
type: SyntaxType.UpdateExpression;
|
|
690
|
+
}
|
|
691
|
+
interface UsesModuleDirectiveNode extends NamedNodeBase {
|
|
692
|
+
type: SyntaxType.UsesModuleDirective;
|
|
693
|
+
typeNode: IdentifierNode | ScopedIdentifierNode;
|
|
694
|
+
}
|
|
695
|
+
interface VariableDeclaratorNode extends NamedNodeBase {
|
|
696
|
+
type: SyntaxType.VariableDeclarator;
|
|
697
|
+
dimensionsNode?: DimensionsNode;
|
|
698
|
+
nameNode: IdentifierNode | UnderscorePatternNode;
|
|
699
|
+
valueNode?: ArrayInitializerNode | ExpressionNode;
|
|
700
|
+
}
|
|
701
|
+
interface VisibilityNode extends NamedNodeBase {
|
|
702
|
+
type: SyntaxType.Visibility;
|
|
703
|
+
}
|
|
704
|
+
interface WhileStatementNode extends NamedNodeBase {
|
|
705
|
+
type: SyntaxType.WhileStatement;
|
|
706
|
+
bodyNode: StatementNode;
|
|
707
|
+
conditionNode: ParenthesizedExpressionNode;
|
|
708
|
+
}
|
|
709
|
+
interface WildcardNode extends NamedNodeBase {
|
|
710
|
+
type: SyntaxType.Wildcard;
|
|
711
|
+
}
|
|
712
|
+
interface YieldStatementNode extends NamedNodeBase {
|
|
713
|
+
type: SyntaxType.YieldStatement;
|
|
714
|
+
}
|
|
715
|
+
interface BinaryIntegerLiteralNode extends NamedNodeBase {
|
|
716
|
+
type: SyntaxType.BinaryIntegerLiteral;
|
|
717
|
+
}
|
|
718
|
+
interface BooleanTypeNode extends NamedNodeBase {
|
|
719
|
+
type: SyntaxType.BooleanType;
|
|
720
|
+
}
|
|
721
|
+
interface CharacterLiteralNode extends NamedNodeBase {
|
|
722
|
+
type: SyntaxType.CharacterLiteral;
|
|
723
|
+
}
|
|
724
|
+
interface DecimalFloatingPointLiteralNode extends NamedNodeBase {
|
|
725
|
+
type: SyntaxType.DecimalFloatingPointLiteral;
|
|
726
|
+
}
|
|
727
|
+
interface DecimalIntegerLiteralNode extends NamedNodeBase {
|
|
728
|
+
type: SyntaxType.DecimalIntegerLiteral;
|
|
729
|
+
}
|
|
730
|
+
interface EscapeSequenceNode extends NamedNodeBase {
|
|
731
|
+
type: SyntaxType.EscapeSequence;
|
|
732
|
+
}
|
|
733
|
+
interface FalseNode extends NamedNodeBase {
|
|
734
|
+
type: SyntaxType.False;
|
|
735
|
+
}
|
|
736
|
+
interface HexFloatingPointLiteralNode extends NamedNodeBase {
|
|
737
|
+
type: SyntaxType.HexFloatingPointLiteral;
|
|
738
|
+
}
|
|
739
|
+
interface HexIntegerLiteralNode extends NamedNodeBase {
|
|
740
|
+
type: SyntaxType.HexIntegerLiteral;
|
|
741
|
+
}
|
|
742
|
+
interface IdentifierNode extends NamedNodeBase {
|
|
743
|
+
type: SyntaxType.Identifier;
|
|
744
|
+
}
|
|
745
|
+
interface NullLiteralNode extends NamedNodeBase {
|
|
746
|
+
type: SyntaxType.NullLiteral;
|
|
747
|
+
}
|
|
748
|
+
interface OctalIntegerLiteralNode extends NamedNodeBase {
|
|
749
|
+
type: SyntaxType.OctalIntegerLiteral;
|
|
750
|
+
}
|
|
751
|
+
interface StringFragmentNode extends NamedNodeBase {
|
|
752
|
+
type: SyntaxType.StringFragment;
|
|
753
|
+
}
|
|
754
|
+
interface SuperNode extends NamedNodeBase {
|
|
755
|
+
type: SyntaxType.Super;
|
|
756
|
+
}
|
|
757
|
+
interface ThisNode extends NamedNodeBase {
|
|
758
|
+
type: SyntaxType.This;
|
|
759
|
+
}
|
|
760
|
+
interface TrueNode extends NamedNodeBase {
|
|
761
|
+
type: SyntaxType.True;
|
|
762
|
+
}
|
|
763
|
+
interface TypeIdentifierNode extends NamedNodeBase {
|
|
764
|
+
type: SyntaxType.TypeIdentifier;
|
|
765
|
+
}
|
|
766
|
+
interface UnderscorePatternNode extends NamedNodeBase {
|
|
767
|
+
type: SyntaxType.UnderscorePattern;
|
|
768
|
+
}
|
|
769
|
+
interface VoidTypeNode extends NamedNodeBase {
|
|
770
|
+
type: SyntaxType.VoidType;
|
|
771
|
+
}
|
|
772
|
+
//#endregion
|
|
773
|
+
//#region src/printers/helpers.d.ts
|
|
774
|
+
type JavaParserOptions = ParserOptions<SyntaxNode>;
|
|
775
|
+
//#endregion
|
|
776
|
+
//#region src/comments.d.ts
|
|
777
|
+
declare function willPrintOwnComments(path: AstPath<SyntaxNode>): boolean;
|
|
778
|
+
declare function canAttachComment(node: SyntaxNode): boolean;
|
|
779
|
+
declare function handleLineComment(commentNode: CommentNode, _: string, options: JavaParserOptions): boolean;
|
|
780
|
+
declare function handleRemainingComment(commentNode: CommentNode): boolean;
|
|
781
|
+
//#endregion
|
|
782
|
+
//#region src/index.d.ts
|
|
783
|
+
declare const _default: {
|
|
784
|
+
languages: {
|
|
785
|
+
name: string;
|
|
786
|
+
parsers: "java"[];
|
|
787
|
+
group: string;
|
|
788
|
+
tmScope: string;
|
|
789
|
+
aceMode: string;
|
|
790
|
+
codemirrorMode: string;
|
|
791
|
+
codemirrorMimeType: string;
|
|
792
|
+
extensions: string[];
|
|
793
|
+
linguistLanguageId: number;
|
|
794
|
+
vscodeLanguageIds: string[];
|
|
795
|
+
}[];
|
|
796
|
+
parsers: {
|
|
797
|
+
java: {
|
|
798
|
+
parse(text: string): Promise<(ErrorNode & {
|
|
799
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
800
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
801
|
+
}) | (BinaryIntegerLiteralNode & {
|
|
802
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
803
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
804
|
+
}) | (CharacterLiteralNode & {
|
|
805
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
806
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
807
|
+
}) | (DecimalFloatingPointLiteralNode & {
|
|
808
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
809
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
810
|
+
}) | (DecimalIntegerLiteralNode & {
|
|
811
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
812
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
813
|
+
}) | (FalseNode & {
|
|
814
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
815
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
816
|
+
}) | (HexFloatingPointLiteralNode & {
|
|
817
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
818
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
819
|
+
}) | (HexIntegerLiteralNode & {
|
|
820
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
821
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
822
|
+
}) | (NullLiteralNode & {
|
|
823
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
824
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
825
|
+
}) | (OctalIntegerLiteralNode & {
|
|
826
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
827
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
828
|
+
}) | (StringLiteralNode & {
|
|
829
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
830
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
831
|
+
}) | (TrueNode & {
|
|
832
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
833
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
834
|
+
}) | (BooleanTypeNode & {
|
|
835
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
836
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
837
|
+
}) | (FloatingPointTypeNode & {
|
|
838
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
839
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
840
|
+
}) | (GenericTypeNode & {
|
|
841
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
842
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
843
|
+
}) | (IntegralTypeNode & {
|
|
844
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
845
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
846
|
+
}) | (ScopedTypeIdentifierNode & {
|
|
847
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
848
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
849
|
+
}) | (TypeIdentifierNode & {
|
|
850
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
851
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
852
|
+
}) | (VoidTypeNode & {
|
|
853
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
854
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
855
|
+
}) | (ArrayTypeNode & {
|
|
856
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
857
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
858
|
+
}) | (AnnotatedTypeNode & {
|
|
859
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
860
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
861
|
+
}) | (AnnotationTypeDeclarationNode & {
|
|
862
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
863
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
864
|
+
}) | (ClassDeclarationNode & {
|
|
865
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
866
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
867
|
+
}) | (EnumDeclarationNode & {
|
|
868
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
869
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
870
|
+
}) | (ImportDeclarationNode & {
|
|
871
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
872
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
873
|
+
}) | (InterfaceDeclarationNode & {
|
|
874
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
875
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
876
|
+
}) | (ModuleDeclarationNode & {
|
|
877
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
878
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
879
|
+
}) | (PackageDeclarationNode & {
|
|
880
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
881
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
882
|
+
}) | (RecordDeclarationNode & {
|
|
883
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
884
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
885
|
+
}) | (AssignmentExpressionNode & {
|
|
886
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
887
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
888
|
+
}) | (BinaryExpressionNode & {
|
|
889
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
890
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
891
|
+
}) | (CastExpressionNode & {
|
|
892
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
893
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
894
|
+
}) | (InstanceofExpressionNode & {
|
|
895
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
896
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
897
|
+
}) | (LambdaExpressionNode & {
|
|
898
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
899
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
900
|
+
}) | (ArrayAccessNode & {
|
|
901
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
902
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
903
|
+
}) | (ArrayCreationExpressionNode & {
|
|
904
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
905
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
906
|
+
}) | (ClassLiteralNode & {
|
|
907
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
908
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
909
|
+
}) | (FieldAccessNode & {
|
|
910
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
911
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
912
|
+
}) | (IdentifierNode & {
|
|
913
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
914
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
915
|
+
}) | (MethodInvocationNode & {
|
|
916
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
917
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
918
|
+
}) | (MethodReferenceNode & {
|
|
919
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
920
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
921
|
+
}) | (ObjectCreationExpressionNode & {
|
|
922
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
923
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
924
|
+
}) | (ParenthesizedExpressionNode & {
|
|
925
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
926
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
927
|
+
}) | (TemplateExpressionNode & {
|
|
928
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
929
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
930
|
+
}) | (ThisNode & {
|
|
931
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
932
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
933
|
+
}) | (SwitchExpressionNode & {
|
|
934
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
935
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
936
|
+
}) | (TernaryExpressionNode & {
|
|
937
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
938
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
939
|
+
}) | (UnaryExpressionNode & {
|
|
940
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
941
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
942
|
+
}) | (UpdateExpressionNode & {
|
|
943
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
944
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
945
|
+
}) | (ExportsModuleDirectiveNode & {
|
|
946
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
947
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
948
|
+
}) | (OpensModuleDirectiveNode & {
|
|
949
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
950
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
951
|
+
}) | (ProvidesModuleDirectiveNode & {
|
|
952
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
953
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
954
|
+
}) | (RequiresModuleDirectiveNode & {
|
|
955
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
956
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
957
|
+
}) | (UsesModuleDirectiveNode & {
|
|
958
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
959
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
960
|
+
}) | (UnnamedNode<";"> & {
|
|
961
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
962
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
963
|
+
}) | (AssertStatementNode & {
|
|
964
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
965
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
966
|
+
}) | (BlockNode & {
|
|
967
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
968
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
969
|
+
}) | (BreakStatementNode & {
|
|
970
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
971
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
972
|
+
}) | (ContinueStatementNode & {
|
|
973
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
974
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
975
|
+
}) | (DoStatementNode & {
|
|
976
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
977
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
978
|
+
}) | (EnhancedForStatementNode & {
|
|
979
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
980
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
981
|
+
}) | (ExpressionStatementNode & {
|
|
982
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
983
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
984
|
+
}) | (ForStatementNode & {
|
|
985
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
986
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
987
|
+
}) | (IfStatementNode & {
|
|
988
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
989
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
990
|
+
}) | (LabeledStatementNode & {
|
|
991
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
992
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
993
|
+
}) | (LocalVariableDeclarationNode & {
|
|
994
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
995
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
996
|
+
}) | (ReturnStatementNode & {
|
|
997
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
998
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
999
|
+
}) | (SynchronizedStatementNode & {
|
|
1000
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1001
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1002
|
+
}) | (ThrowStatementNode & {
|
|
1003
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1004
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1005
|
+
}) | (TryStatementNode & {
|
|
1006
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1007
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1008
|
+
}) | (TryWithResourcesStatementNode & {
|
|
1009
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1010
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1011
|
+
}) | (WhileStatementNode & {
|
|
1012
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1013
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1014
|
+
}) | (YieldStatementNode & {
|
|
1015
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1016
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1017
|
+
}) | (AnnotationNode & {
|
|
1018
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1019
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1020
|
+
}) | (AnnotationArgumentListNode & {
|
|
1021
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1022
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1023
|
+
}) | (AnnotationTypeBodyNode & {
|
|
1024
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1025
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1026
|
+
}) | (AnnotationTypeElementDeclarationNode & {
|
|
1027
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1028
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1029
|
+
}) | (ArgumentListNode & {
|
|
1030
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1031
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1032
|
+
}) | (ArrayInitializerNode & {
|
|
1033
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1034
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1035
|
+
}) | (AsteriskNode & {
|
|
1036
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1037
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1038
|
+
}) | (CatchClauseNode & {
|
|
1039
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1040
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1041
|
+
}) | (CatchFormalParameterNode & {
|
|
1042
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1043
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1044
|
+
}) | (CatchTypeNode & {
|
|
1045
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1046
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1047
|
+
}) | (ClassBodyNode & {
|
|
1048
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1049
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1050
|
+
}) | (CompactConstructorDeclarationNode & {
|
|
1051
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1052
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1053
|
+
}) | (ConstantDeclarationNode & {
|
|
1054
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1055
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1056
|
+
}) | (ConstructorBodyNode & {
|
|
1057
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1058
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1059
|
+
}) | (ConstructorDeclarationNode & {
|
|
1060
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1061
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1062
|
+
}) | (DimensionsNode & {
|
|
1063
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1064
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1065
|
+
}) | (DimensionsExprNode & {
|
|
1066
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1067
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1068
|
+
}) | (ElementValueArrayInitializerNode & {
|
|
1069
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1070
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1071
|
+
}) | (ElementValuePairNode & {
|
|
1072
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1073
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1074
|
+
}) | (EnumBodyNode & {
|
|
1075
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1076
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1077
|
+
}) | (EnumBodyDeclarationsNode & {
|
|
1078
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1079
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1080
|
+
}) | (EnumConstantNode & {
|
|
1081
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1082
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1083
|
+
}) | (ExplicitConstructorInvocationNode & {
|
|
1084
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1085
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1086
|
+
}) | (ExtendsInterfacesNode & {
|
|
1087
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1088
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1089
|
+
}) | (FieldDeclarationNode & {
|
|
1090
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1091
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1092
|
+
}) | (FinallyClauseNode & {
|
|
1093
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1094
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1095
|
+
}) | (FormalParameterNode & {
|
|
1096
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1097
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1098
|
+
}) | (FormalParametersNode & {
|
|
1099
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1100
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1101
|
+
}) | (GuardNode & {
|
|
1102
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1103
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1104
|
+
}) | (InferredParametersNode & {
|
|
1105
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1106
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1107
|
+
}) | (InterfaceBodyNode & {
|
|
1108
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1109
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1110
|
+
}) | (MarkerAnnotationNode & {
|
|
1111
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1112
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1113
|
+
}) | (MethodDeclarationNode & {
|
|
1114
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1115
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1116
|
+
}) | (ModifierNode & {
|
|
1117
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1118
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1119
|
+
}) | (ModifiersNode & {
|
|
1120
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1121
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1122
|
+
}) | (ModuleBodyNode & {
|
|
1123
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1124
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1125
|
+
}) | (MultilineStringFragmentNode & {
|
|
1126
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1127
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1128
|
+
}) | (PatternNode & {
|
|
1129
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1130
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1131
|
+
}) | (PermitsNode & {
|
|
1132
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1133
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1134
|
+
}) | (ProgramNode & {
|
|
1135
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1136
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1137
|
+
}) | (ReceiverParameterNode & {
|
|
1138
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1139
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1140
|
+
}) | (RecordPatternNode & {
|
|
1141
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1142
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1143
|
+
}) | (RecordPatternBodyNode & {
|
|
1144
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1145
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1146
|
+
}) | (RecordPatternComponentNode & {
|
|
1147
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1148
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1149
|
+
}) | (RequiresModifierNode & {
|
|
1150
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1151
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1152
|
+
}) | (ResourceNode & {
|
|
1153
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1154
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1155
|
+
}) | (ResourceSpecificationNode & {
|
|
1156
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1157
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1158
|
+
}) | (ScopedIdentifierNode & {
|
|
1159
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1160
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1161
|
+
}) | (SpreadParameterNode & {
|
|
1162
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1163
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1164
|
+
}) | (StaticInitializerNode & {
|
|
1165
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1166
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1167
|
+
}) | (StringInterpolationNode & {
|
|
1168
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1169
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1170
|
+
}) | (SuperInterfacesNode & {
|
|
1171
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1172
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1173
|
+
}) | (SuperclassNode & {
|
|
1174
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1175
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1176
|
+
}) | (SwitchBlockNode & {
|
|
1177
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1178
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1179
|
+
}) | (SwitchBlockStatementGroupNode & {
|
|
1180
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1181
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1182
|
+
}) | (SwitchLabelNode & {
|
|
1183
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1184
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1185
|
+
}) | (SwitchRuleNode & {
|
|
1186
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1187
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1188
|
+
}) | (ThrowsNode & {
|
|
1189
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1190
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1191
|
+
}) | (TypeArgumentsNode & {
|
|
1192
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1193
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1194
|
+
}) | (TypeBoundNode & {
|
|
1195
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1196
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1197
|
+
}) | (TypeListNode & {
|
|
1198
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1199
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1200
|
+
}) | (TypeParameterNode & {
|
|
1201
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1202
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1203
|
+
}) | (TypeParametersNode & {
|
|
1204
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1205
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1206
|
+
}) | (TypePatternNode & {
|
|
1207
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1208
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1209
|
+
}) | (VariableDeclaratorNode & {
|
|
1210
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1211
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1212
|
+
}) | (VisibilityNode & {
|
|
1213
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1214
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1215
|
+
}) | (WildcardNode & {
|
|
1216
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1217
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1218
|
+
}) | (UnnamedNode<"!"> & {
|
|
1219
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1220
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1221
|
+
}) | (UnnamedNode<"!="> & {
|
|
1222
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1223
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1224
|
+
}) | (UnnamedNode<"\""> & {
|
|
1225
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1226
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1227
|
+
}) | (UnnamedNode<"\"\"\""> & {
|
|
1228
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1229
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1230
|
+
}) | (UnnamedNode<"%"> & {
|
|
1231
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1232
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1233
|
+
}) | (UnnamedNode<"%="> & {
|
|
1234
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1235
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1236
|
+
}) | (UnnamedNode<"&"> & {
|
|
1237
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1238
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1239
|
+
}) | (UnnamedNode<"&&"> & {
|
|
1240
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1241
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1242
|
+
}) | (UnnamedNode<"&="> & {
|
|
1243
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1244
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1245
|
+
}) | (UnnamedNode<"("> & {
|
|
1246
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1247
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1248
|
+
}) | (UnnamedNode<")"> & {
|
|
1249
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1250
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1251
|
+
}) | (UnnamedNode<"*"> & {
|
|
1252
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1253
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1254
|
+
}) | (UnnamedNode<"*="> & {
|
|
1255
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1256
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1257
|
+
}) | (UnnamedNode<"+"> & {
|
|
1258
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1259
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1260
|
+
}) | (UnnamedNode<"++"> & {
|
|
1261
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1262
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1263
|
+
}) | (UnnamedNode<"+="> & {
|
|
1264
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1265
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1266
|
+
}) | (UnnamedNode<","> & {
|
|
1267
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1268
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1269
|
+
}) | (UnnamedNode<"-"> & {
|
|
1270
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1271
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1272
|
+
}) | (UnnamedNode<"--"> & {
|
|
1273
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1274
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1275
|
+
}) | (UnnamedNode<"-="> & {
|
|
1276
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1277
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1278
|
+
}) | (UnnamedNode<"->"> & {
|
|
1279
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1280
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1281
|
+
}) | (UnnamedNode<"."> & {
|
|
1282
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1283
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1284
|
+
}) | (UnnamedNode<"..."> & {
|
|
1285
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1286
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1287
|
+
}) | (UnnamedNode<"/"> & {
|
|
1288
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1289
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1290
|
+
}) | (UnnamedNode<"/="> & {
|
|
1291
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1292
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1293
|
+
}) | (UnnamedNode<":"> & {
|
|
1294
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1295
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1296
|
+
}) | (UnnamedNode<"::"> & {
|
|
1297
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1298
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1299
|
+
}) | (UnnamedNode<"<"> & {
|
|
1300
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1301
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1302
|
+
}) | (UnnamedNode<"<<"> & {
|
|
1303
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1304
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1305
|
+
}) | (UnnamedNode<"<<="> & {
|
|
1306
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1307
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1308
|
+
}) | (UnnamedNode<"<="> & {
|
|
1309
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1310
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1311
|
+
}) | (UnnamedNode<"="> & {
|
|
1312
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1313
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1314
|
+
}) | (UnnamedNode<"=="> & {
|
|
1315
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1316
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1317
|
+
}) | (UnnamedNode<">"> & {
|
|
1318
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1319
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1320
|
+
}) | (UnnamedNode<">="> & {
|
|
1321
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1322
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1323
|
+
}) | (UnnamedNode<">>"> & {
|
|
1324
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1325
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1326
|
+
}) | (UnnamedNode<">>="> & {
|
|
1327
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1328
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1329
|
+
}) | (UnnamedNode<">>>"> & {
|
|
1330
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1331
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1332
|
+
}) | (UnnamedNode<">>>="> & {
|
|
1333
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1334
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1335
|
+
}) | (UnnamedNode<"?"> & {
|
|
1336
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1337
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1338
|
+
}) | (UnnamedNode<"@"> & {
|
|
1339
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1340
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1341
|
+
}) | (UnnamedNode<"@interface"> & {
|
|
1342
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1343
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1344
|
+
}) | (UnnamedNode<"["> & {
|
|
1345
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1346
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1347
|
+
}) | (UnnamedNode<"\\{"> & {
|
|
1348
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1349
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1350
|
+
}) | (UnnamedNode<"]"> & {
|
|
1351
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1352
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1353
|
+
}) | (UnnamedNode<"^"> & {
|
|
1354
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1355
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1356
|
+
}) | (UnnamedNode<"^="> & {
|
|
1357
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1358
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1359
|
+
}) | (UnnamedNode<"abstract"> & {
|
|
1360
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1361
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1362
|
+
}) | (UnnamedNode<"assert"> & {
|
|
1363
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1364
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1365
|
+
}) | (UnnamedNode<"break"> & {
|
|
1366
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1367
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1368
|
+
}) | (UnnamedNode<"byte"> & {
|
|
1369
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1370
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1371
|
+
}) | (UnnamedNode<"case"> & {
|
|
1372
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1373
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1374
|
+
}) | (UnnamedNode<"catch"> & {
|
|
1375
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1376
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1377
|
+
}) | (UnnamedNode<"char"> & {
|
|
1378
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1379
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1380
|
+
}) | (UnnamedNode<"class"> & {
|
|
1381
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1382
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1383
|
+
}) | (UnnamedNode<"continue"> & {
|
|
1384
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1385
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1386
|
+
}) | (UnnamedNode<"default"> & {
|
|
1387
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1388
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1389
|
+
}) | (UnnamedNode<"do"> & {
|
|
1390
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1391
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1392
|
+
}) | (UnnamedNode<"double"> & {
|
|
1393
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1394
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1395
|
+
}) | (UnnamedNode<"else"> & {
|
|
1396
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1397
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1398
|
+
}) | (UnnamedNode<"enum"> & {
|
|
1399
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1400
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1401
|
+
}) | (EscapeSequenceNode & {
|
|
1402
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1403
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1404
|
+
}) | (UnnamedNode<"exports"> & {
|
|
1405
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1406
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1407
|
+
}) | (UnnamedNode<"extends"> & {
|
|
1408
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1409
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1410
|
+
}) | (UnnamedNode<"final"> & {
|
|
1411
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1412
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1413
|
+
}) | (UnnamedNode<"finally"> & {
|
|
1414
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1415
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1416
|
+
}) | (UnnamedNode<"float"> & {
|
|
1417
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1418
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1419
|
+
}) | (UnnamedNode<"for"> & {
|
|
1420
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1421
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1422
|
+
}) | (UnnamedNode<"if"> & {
|
|
1423
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1424
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1425
|
+
}) | (UnnamedNode<"implements"> & {
|
|
1426
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1427
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1428
|
+
}) | (UnnamedNode<"import"> & {
|
|
1429
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1430
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1431
|
+
}) | (UnnamedNode<"instanceof"> & {
|
|
1432
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1433
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1434
|
+
}) | (UnnamedNode<"int"> & {
|
|
1435
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1436
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1437
|
+
}) | (UnnamedNode<"interface"> & {
|
|
1438
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1439
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1440
|
+
}) | (UnnamedNode<"long"> & {
|
|
1441
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1442
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1443
|
+
}) | (UnnamedNode<"module"> & {
|
|
1444
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1445
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1446
|
+
}) | (UnnamedNode<"native"> & {
|
|
1447
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1448
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1449
|
+
}) | (UnnamedNode<"new"> & {
|
|
1450
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1451
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1452
|
+
}) | (UnnamedNode<"non-sealed"> & {
|
|
1453
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1454
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1455
|
+
}) | (UnnamedNode<"open"> & {
|
|
1456
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1457
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1458
|
+
}) | (UnnamedNode<"opens"> & {
|
|
1459
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1460
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1461
|
+
}) | (UnnamedNode<"package"> & {
|
|
1462
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1463
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1464
|
+
}) | (UnnamedNode<"permits"> & {
|
|
1465
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1466
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1467
|
+
}) | (UnnamedNode<"private"> & {
|
|
1468
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1469
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1470
|
+
}) | (UnnamedNode<"protected"> & {
|
|
1471
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1472
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1473
|
+
}) | (UnnamedNode<"provides"> & {
|
|
1474
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1475
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1476
|
+
}) | (UnnamedNode<"public"> & {
|
|
1477
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1478
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1479
|
+
}) | (UnnamedNode<"record"> & {
|
|
1480
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1481
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1482
|
+
}) | (UnnamedNode<"requires"> & {
|
|
1483
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1484
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1485
|
+
}) | (UnnamedNode<"return"> & {
|
|
1486
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1487
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1488
|
+
}) | (UnnamedNode<"sealed"> & {
|
|
1489
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1490
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1491
|
+
}) | (UnnamedNode<"short"> & {
|
|
1492
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1493
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1494
|
+
}) | (UnnamedNode<"static"> & {
|
|
1495
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1496
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1497
|
+
}) | (UnnamedNode<"strictfp"> & {
|
|
1498
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1499
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1500
|
+
}) | (StringFragmentNode & {
|
|
1501
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1502
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1503
|
+
}) | (SuperNode & {
|
|
1504
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1505
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1506
|
+
}) | (UnnamedNode<"switch"> & {
|
|
1507
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1508
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1509
|
+
}) | (UnnamedNode<"synchronized"> & {
|
|
1510
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1511
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1512
|
+
}) | (UnnamedNode<"throw"> & {
|
|
1513
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1514
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1515
|
+
}) | (UnnamedNode<"throws"> & {
|
|
1516
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1517
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1518
|
+
}) | (UnnamedNode<"to"> & {
|
|
1519
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1520
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1521
|
+
}) | (UnnamedNode<"transient"> & {
|
|
1522
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1523
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1524
|
+
}) | (UnnamedNode<"transitive"> & {
|
|
1525
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1526
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1527
|
+
}) | (UnnamedNode<"try"> & {
|
|
1528
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1529
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1530
|
+
}) | (UnderscorePatternNode & {
|
|
1531
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1532
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1533
|
+
}) | (UnnamedNode<"uses"> & {
|
|
1534
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1535
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1536
|
+
}) | (UnnamedNode<"volatile"> & {
|
|
1537
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1538
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1539
|
+
}) | (UnnamedNode<"when"> & {
|
|
1540
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1541
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1542
|
+
}) | (UnnamedNode<"while"> & {
|
|
1543
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1544
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1545
|
+
}) | (UnnamedNode<"with"> & {
|
|
1546
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1547
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1548
|
+
}) | (UnnamedNode<"yield"> & {
|
|
1549
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1550
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1551
|
+
}) | (UnnamedNode<"{"> & {
|
|
1552
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1553
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1554
|
+
}) | (UnnamedNode<"|"> & {
|
|
1555
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1556
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1557
|
+
}) | (UnnamedNode<"|="> & {
|
|
1558
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1559
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1560
|
+
}) | (UnnamedNode<"||"> & {
|
|
1561
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1562
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1563
|
+
}) | (UnnamedNode<"}"> & {
|
|
1564
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1565
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1566
|
+
}) | (UnnamedNode<"~"> & {
|
|
1567
|
+
[key: `${string}Node`]: SyntaxNode | undefined;
|
|
1568
|
+
[key: `${string}Nodes`]: SyntaxNode[];
|
|
1569
|
+
})>;
|
|
1570
|
+
astFormat: string;
|
|
1571
|
+
hasPragma(text: string): boolean;
|
|
1572
|
+
locStart(node: SyntaxNode | CommentNode): number;
|
|
1573
|
+
locEnd(node: SyntaxNode | CommentNode): number;
|
|
1574
|
+
};
|
|
1575
|
+
};
|
|
1576
|
+
printers: {
|
|
1577
|
+
java: {
|
|
1578
|
+
print(path: _$prettier.AstPath<SyntaxNode>, options: _$prettier.ParserOptions<SyntaxNode>, print: (path: _$prettier.AstPath<SyntaxNode>) => _$prettier.Doc, args: unknown): _$prettier_doc_js0.builders.Doc;
|
|
1579
|
+
embed(path: _$prettier.AstPath<any>): ((textToDoc: (text: string, options: _$prettier.Options) => Promise<_$prettier.Doc>) => Promise<_$prettier_doc_js0.builders.Indent | _$prettier_doc_js0.builders.Doc[]>) | null;
|
|
1580
|
+
hasPrettierIgnore(path: _$prettier.AstPath<SyntaxNode>): boolean;
|
|
1581
|
+
canAttachComment: typeof canAttachComment;
|
|
1582
|
+
isBlockComment(node: SyntaxNode): boolean;
|
|
1583
|
+
willPrintOwnComments: typeof willPrintOwnComments;
|
|
1584
|
+
printComment(commentPath: _$prettier.AstPath<SyntaxNode>): string | _$prettier_doc_js0.builders.Doc[];
|
|
1585
|
+
getCommentChildNodes(node: SyntaxNode): SyntaxNode[];
|
|
1586
|
+
handleComments: {
|
|
1587
|
+
ownLine: typeof handleLineComment;
|
|
1588
|
+
endOfLine: typeof handleLineComment;
|
|
1589
|
+
remaining: typeof handleRemainingComment;
|
|
1590
|
+
};
|
|
1591
|
+
getVisitorKeys(): string[];
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
options: {
|
|
1595
|
+
arrowParens: {
|
|
1596
|
+
type: "choice";
|
|
1597
|
+
category: string;
|
|
1598
|
+
default: string;
|
|
1599
|
+
choices: {
|
|
1600
|
+
value: string;
|
|
1601
|
+
description: string;
|
|
1602
|
+
}[];
|
|
1603
|
+
description: string;
|
|
1604
|
+
};
|
|
1605
|
+
trailingComma: {
|
|
1606
|
+
type: "choice";
|
|
1607
|
+
category: string;
|
|
1608
|
+
default: string;
|
|
1609
|
+
choices: {
|
|
1610
|
+
value: string;
|
|
1611
|
+
description: string;
|
|
1612
|
+
}[];
|
|
1613
|
+
description: string;
|
|
1614
|
+
};
|
|
1615
|
+
experimentalOperatorPosition: {
|
|
1616
|
+
type: "choice";
|
|
1617
|
+
category: string;
|
|
1618
|
+
default: string;
|
|
1619
|
+
choices: {
|
|
1620
|
+
value: string;
|
|
1621
|
+
description: string;
|
|
1622
|
+
}[];
|
|
1623
|
+
description: string;
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
defaultOptions: {
|
|
1627
|
+
arrowParens: "avoid";
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
export = _default;
|