tree-sitter-javascript
Advanced tools
Comparing version 0.15.0 to 0.15.1
386
grammar.js
@@ -40,2 +40,9 @@ const PREC = { | ||
supertypes: $ => [ | ||
$._statement, | ||
$._declaration, | ||
$._expression, | ||
$._destructuring_pattern, | ||
], | ||
inline: $ => [ | ||
@@ -48,2 +55,3 @@ $._constructable_expression, | ||
$._destructuring_pattern, | ||
$._identifier_reference, | ||
$._reserved_identifier, | ||
@@ -86,7 +94,22 @@ $._jsx_attribute, | ||
export_statement: $ => choice( | ||
seq('export', '*', $._from_clause, $._semicolon), | ||
seq('export', $.export_clause, $._from_clause, $._semicolon), | ||
seq('export', $.export_clause, $._semicolon), | ||
seq(repeat($.decorator), 'export', $._declaration), | ||
seq(repeat($.decorator), 'export', 'default', $._expression, $._semicolon) | ||
seq( | ||
'export', | ||
choice( | ||
seq('*', $._from_clause, $._semicolon), | ||
seq($.export_clause, $._from_clause, $._semicolon), | ||
seq($.export_clause, $._semicolon) | ||
) | ||
), | ||
seq( | ||
repeat(field('decorator', $.decorator)), | ||
'export', | ||
choice( | ||
field('declaration', $._declaration), | ||
seq( | ||
'default', | ||
field('value', $._expression), | ||
$._semicolon | ||
) | ||
) | ||
), | ||
), | ||
@@ -102,21 +125,16 @@ | ||
_import_export_specifier: $ => seq( | ||
$.identifier, | ||
field('name', $.identifier), | ||
optional(seq( | ||
'as', | ||
$.identifier | ||
field('alias', $.identifier) | ||
)) | ||
), | ||
_declaration: $ => prec(PREC.DECLARATION, choice( | ||
seq( | ||
choice( | ||
$.function, | ||
$.generator_function, | ||
$.class | ||
), | ||
optional($._automatic_semicolon) | ||
), | ||
_declaration: $ => choice( | ||
$.function_declaration, | ||
$.generator_function_declaration, | ||
$.class_declaration, | ||
$.lexical_declaration, | ||
$.variable_declaration | ||
)), | ||
), | ||
@@ -131,3 +149,3 @@ // | ||
seq($.import_clause, $._from_clause), | ||
$.string | ||
field('source', $.string) | ||
), | ||
@@ -153,3 +171,3 @@ $._semicolon | ||
_from_clause: $ => seq( | ||
"from", $.string | ||
"from", field('source', $.string) | ||
), | ||
@@ -209,2 +227,4 @@ | ||
// let x = y, z = a; | ||
lexical_declaration: $ => seq( | ||
@@ -217,3 +237,3 @@ choice('let', 'const'), | ||
variable_declarator: $ => seq( | ||
choice($.identifier, $._destructuring_pattern), | ||
field('name', choice($.identifier, $._destructuring_pattern)), | ||
optional($._initializer) | ||
@@ -230,11 +250,8 @@ ), | ||
'if', | ||
$.parenthesized_expression, | ||
choice( | ||
$._statement, | ||
seq( | ||
$._statement, | ||
'else', | ||
$._statement | ||
) | ||
) | ||
field('condition', $.parenthesized_expression), | ||
field('consequence', $._statement), | ||
optional(seq( | ||
'else', | ||
field('alternative', $._statement) | ||
)) | ||
)), | ||
@@ -244,4 +261,6 @@ | ||
'switch', | ||
$.parenthesized_expression, | ||
$.switch_body | ||
'(', | ||
field('value', $._expressions), | ||
')', | ||
field('body', $.switch_body) | ||
), | ||
@@ -252,3 +271,3 @@ | ||
'(', | ||
choice( | ||
field('initializer', choice( | ||
$.lexical_declaration, | ||
@@ -258,10 +277,10 @@ $.variable_declaration, | ||
$.empty_statement | ||
), | ||
choice( | ||
)), | ||
field('condition', choice( | ||
$.expression_statement, | ||
$.empty_statement | ||
), | ||
optional($._expressions), | ||
)), | ||
field('increment', optional($._expressions)), | ||
')', | ||
$._statement | ||
field('body', $._statement) | ||
), | ||
@@ -273,7 +292,7 @@ | ||
optional(choice('var', 'let', 'const')), | ||
choice($.identifier, $._destructuring_pattern), | ||
field('left', choice($.identifier, $._destructuring_pattern)), | ||
'in', | ||
$._expressions, | ||
field('right', $._expressions), | ||
')', | ||
$._statement | ||
field('body', $._statement) | ||
), | ||
@@ -286,7 +305,7 @@ | ||
optional(choice('var', 'let', 'const')), | ||
choice($.identifier, $._destructuring_pattern), | ||
field('left', choice($.identifier, $._destructuring_pattern)), | ||
'of', | ||
$._expression, | ||
field('right', $._expression), | ||
')', | ||
$._statement | ||
field('body', $._statement) | ||
), | ||
@@ -296,4 +315,4 @@ | ||
'while', | ||
$.parenthesized_expression, | ||
$._statement | ||
field('condition', $.parenthesized_expression), | ||
field('body', $._statement) | ||
), | ||
@@ -303,5 +322,5 @@ | ||
'do', | ||
$._statement, | ||
field('body', $._statement), | ||
'while', | ||
$.parenthesized_expression, | ||
field('condition', $.parenthesized_expression), | ||
$._semicolon | ||
@@ -312,5 +331,5 @@ ), | ||
'try', | ||
$.statement_block, | ||
optional($.catch_clause), | ||
optional($.finally_clause) | ||
field('body', $.statement_block), | ||
optional(field('handler', $.catch_clause)), | ||
optional(field('finalizer', $.finally_clause)) | ||
), | ||
@@ -320,4 +339,4 @@ | ||
'with', | ||
$.parenthesized_expression, | ||
$._statement | ||
field('object', $.parenthesized_expression), | ||
field('body', $._statement) | ||
), | ||
@@ -327,3 +346,3 @@ | ||
'break', | ||
optional(alias($.identifier, $.statement_identifier)), | ||
field('label', optional(alias($.identifier, $.statement_identifier))), | ||
$._semicolon | ||
@@ -334,3 +353,3 @@ ), | ||
'continue', | ||
optional(alias($.identifier, $.statement_identifier)), | ||
field('label', optional(alias($.identifier, $.statement_identifier))), | ||
$._semicolon | ||
@@ -346,3 +365,3 @@ ), | ||
'return', | ||
optional($._expressions), | ||
optional(field('argument', $._expressions)), | ||
$._semicolon | ||
@@ -353,3 +372,3 @@ ), | ||
'throw', | ||
$._expressions, | ||
field('argument', $._expressions), | ||
$._semicolon | ||
@@ -361,3 +380,3 @@ ), | ||
labeled_statement: $ => prec.dynamic(-1, seq( | ||
alias($.identifier, $.statement_identifier), | ||
field('label', alias($.identifier, $.statement_identifier)), | ||
':', | ||
@@ -379,3 +398,3 @@ $._statement | ||
'case', | ||
$._expressions, | ||
field('value', $._expressions), | ||
':', | ||
@@ -393,4 +412,4 @@ repeat($._statement) | ||
'catch', | ||
optional(seq('(', $.identifier, ')')), | ||
$.statement_block | ||
optional(seq('(', field('parameter', $.identifier), ')')), | ||
field('body', $.statement_block) | ||
), | ||
@@ -400,3 +419,3 @@ | ||
'finally', | ||
$.statement_block | ||
field('body', $.statement_block) | ||
), | ||
@@ -436,3 +455,3 @@ | ||
'yield', | ||
optional($._expression) | ||
optional(field('argument', $._expression)) | ||
)), | ||
@@ -445,5 +464,8 @@ | ||
$.spread_element, | ||
seq(repeat($.decorator), $.method_definition), | ||
$.method_definition, | ||
$.assignment_pattern, | ||
alias(choice($.identifier, $._reserved_identifier), $.shorthand_property_identifier) | ||
alias( | ||
choice($.identifier, $._reserved_identifier), | ||
$.shorthand_property_identifier | ||
) | ||
))), | ||
@@ -454,7 +476,8 @@ '}' | ||
assignment_pattern: $ => seq( | ||
choice( | ||
field('left', choice( | ||
alias($.identifier, $.shorthand_property_identifier), | ||
$._destructuring_pattern | ||
), | ||
$._initializer | ||
)), | ||
'=', | ||
field('right', $._expression) | ||
), | ||
@@ -474,5 +497,5 @@ | ||
jsx_element: $ => seq( | ||
$.jsx_opening_element, | ||
field('open_tag', $.jsx_opening_element), | ||
repeat($._jsx_child), | ||
$.jsx_closing_element | ||
field('close_tag', $.jsx_closing_element) | ||
), | ||
@@ -484,10 +507,22 @@ | ||
jsx_expression: $ => seq('{', optional(choice($._expression, $.sequence_expression, $.spread_element)), '}'), | ||
jsx_expression: $ => seq( | ||
'{', | ||
optional(choice( | ||
$._expression, | ||
$.sequence_expression, | ||
$.spread_element | ||
)), | ||
'}' | ||
), | ||
_jsx_child: $ => choice($.jsx_text, $._jsx_element, $.jsx_expression), | ||
_jsx_child: $ => choice( | ||
$.jsx_text, | ||
$._jsx_element, | ||
$.jsx_expression | ||
), | ||
jsx_opening_element: $ => prec.dynamic(-1, seq( | ||
'<', | ||
$._jsx_element_name, | ||
repeat($._jsx_attribute), | ||
field('name', $._jsx_element_name), | ||
repeat(field('attribute', $._jsx_attribute)), | ||
'>' | ||
@@ -520,3 +555,3 @@ )), | ||
'/', | ||
$._jsx_element_name, | ||
field('name', $._jsx_element_name), | ||
'>' | ||
@@ -527,4 +562,4 @@ ), | ||
'<', | ||
$._jsx_element_name, | ||
repeat($._jsx_attribute), | ||
field('name', $._jsx_element_name), | ||
repeat(field('attribute', $._jsx_attribute)), | ||
'/', | ||
@@ -553,16 +588,18 @@ '>' | ||
anonymous_class: $ => seq( | ||
repeat($.decorator), | ||
class: $ => seq( | ||
repeat(field('decorator', $.decorator)), | ||
'class', | ||
field('name', optional($.identifier)), | ||
optional($.class_heritage), | ||
$.class_body | ||
field('body', $.class_body) | ||
), | ||
class: $ => seq( | ||
repeat($.decorator), | ||
class_declaration: $ => prec(PREC.DECLARATION, seq( | ||
repeat(field('decorator', $.decorator)), | ||
'class', | ||
$.identifier, | ||
field('name', $.identifier), | ||
optional($.class_heritage), | ||
$.class_body | ||
), | ||
field('body', $.class_body), | ||
optional($._automatic_semicolon) | ||
)), | ||
@@ -574,31 +611,49 @@ class_heritage: $ => seq('extends', $._expression), | ||
'function', | ||
optional($.identifier), | ||
$.formal_parameters, | ||
$.statement_block | ||
field('name', optional($.identifier)), | ||
field('parameters', $.formal_parameters), | ||
field('body', $.statement_block) | ||
), | ||
function_declaration: $ => prec(PREC.DECLARATION, seq( | ||
optional('async'), | ||
'function', | ||
field('name', $.identifier), | ||
field('parameters', $.formal_parameters), | ||
field('body', $.statement_block), | ||
optional($._automatic_semicolon) | ||
)), | ||
generator_function: $ => seq( | ||
'function', | ||
'*', | ||
field('name', optional($.identifier)), | ||
field('parameters', $.formal_parameters), | ||
field('body', $.statement_block) | ||
), | ||
generator_function_declaration: $ => prec(PREC.DECLARATION, seq( | ||
'function', | ||
'*', | ||
field('name', $.identifier), | ||
field('parameters', $.formal_parameters), | ||
field('body', $.statement_block), | ||
optional($._automatic_semicolon) | ||
)), | ||
arrow_function: $ => seq( | ||
optional('async'), | ||
choice( | ||
optional($.identifier), | ||
$.formal_parameters | ||
field('parameter', $.identifier), | ||
field('parameters', $.formal_parameters) | ||
), | ||
'=>', | ||
choice( | ||
field('body', choice( | ||
$._expression, | ||
$.statement_block | ||
) | ||
)) | ||
), | ||
generator_function: $ => seq( | ||
'function', | ||
'*', | ||
optional($.identifier), | ||
$.formal_parameters, | ||
$.statement_block | ||
), | ||
call_expression: $ => prec(PREC.CALL, seq( | ||
choice($._expression, $.super, $.function), | ||
choice($.arguments, $.template_string) | ||
field('function', choice($._expression, $.super, $.function)), | ||
field('arguments', choice($.arguments, $.template_string)) | ||
)), | ||
@@ -608,4 +663,4 @@ | ||
'new', | ||
$._constructable_expression, | ||
optional($.arguments) | ||
field('constructor', $._constructable_expression), | ||
field('arguments', optional($.arguments)) | ||
)), | ||
@@ -632,5 +687,3 @@ | ||
$.class, | ||
$.anonymous_class, | ||
$.parenthesized_expression, | ||
$.subscript_expression, | ||
@@ -642,3 +695,2 @@ $.member_expression, | ||
await_expression: $ => seq( | ||
@@ -650,3 +702,3 @@ 'await', | ||
member_expression: $ => prec(PREC.MEMBER, seq( | ||
choice( | ||
field('object', choice( | ||
$._expression, | ||
@@ -656,14 +708,14 @@ $.identifier, | ||
alias($._reserved_identifier, $.identifier) | ||
), | ||
)), | ||
'.', | ||
alias($.identifier, $.property_identifier) | ||
field('property', alias($.identifier, $.property_identifier)) | ||
)), | ||
subscript_expression: $ => prec.right(PREC.MEMBER, seq( | ||
choice($._expression, $.super), | ||
'[', $._expressions , ']' | ||
field('object', choice($._expression, $.super)), | ||
'[', field('index', $._expressions), ']' | ||
)), | ||
assignment_expression: $ => prec.right(PREC.ASSIGN, seq( | ||
choice( | ||
field('left', choice( | ||
$.member_expression, | ||
@@ -674,8 +726,9 @@ $.subscript_expression, | ||
$._destructuring_pattern | ||
), | ||
$._initializer | ||
)), | ||
'=', | ||
field('right', $._expression) | ||
)), | ||
augmented_assignment_expression: $ => prec.right(PREC.ASSIGN, seq( | ||
choice( | ||
field('left', choice( | ||
$.member_expression, | ||
@@ -685,9 +738,10 @@ $.subscript_expression, | ||
$.identifier | ||
), | ||
)), | ||
choice('+=', '-=', '*=', '/=', '%=', '^=', '&=', '|=', '>>=', '>>>=', '<<=', '**='), | ||
$._expression | ||
field('right', $._expression) | ||
)), | ||
_initializer: $ => seq( | ||
'=', $._expression | ||
'=', | ||
field('value', $._expression) | ||
), | ||
@@ -703,3 +757,7 @@ | ||
ternary_expression: $ => prec.right(PREC.TERNARY, seq( | ||
$._expression, '?', $._expression, ':', $._expression | ||
field('condition', $._expression), | ||
'?', | ||
field('consequence', $._expression), | ||
':', | ||
field('alternative', $._expression) | ||
)), | ||
@@ -710,5 +768,5 @@ | ||
prec.left(PREC.REL, seq( | ||
choice($.identifier, $.object, $.array), | ||
'in', | ||
$._expression | ||
field('left', choice($.identifier, $.object, $.array)), | ||
field('operator', 'in'), | ||
field('right', $._expression) | ||
)), | ||
@@ -742,3 +800,7 @@ | ||
].map(([operator, precedence]) => | ||
prec.left(precedence, seq($._expression, operator, $._expression)) | ||
prec.left(precedence, seq( | ||
field('left', $._expression), | ||
field('operator', operator), | ||
field('right', $._expression) | ||
)) | ||
) | ||
@@ -756,15 +818,24 @@ ), | ||
].map(([operator, precedence]) => | ||
prec.left(precedence, seq(operator, $._expression)) | ||
prec.left(precedence, seq( | ||
field('operator', operator), | ||
field('argument', $._expression) | ||
)) | ||
)), | ||
update_expression: $ => prec.left(PREC.INC, choice( | ||
seq($._expression, '++'), | ||
seq($._expression, '--'), | ||
seq('++', $._expression), | ||
seq('--', $._expression) | ||
seq( | ||
field('argument', $._expression), | ||
field('operator', choice('++', '--')) | ||
), | ||
seq( | ||
field('operator', choice('++', '--')), | ||
field('argument', $._expression) | ||
), | ||
)), | ||
sequence_expression: $ => prec(PREC.COMMA, seq( | ||
$._expression, ',', choice($.sequence_expression, $._expression)) | ||
), | ||
field('left', $._expression), | ||
',', | ||
field('right', choice($.sequence_expression, $._expression)) | ||
)), | ||
@@ -833,5 +904,5 @@ // | ||
'/', | ||
$.regex_pattern, | ||
field('pattern', $.regex_pattern), | ||
token.immediate('/'), | ||
optional($.regex_flags) | ||
optional(field('flags', $.regex_flags)) | ||
), | ||
@@ -923,3 +994,4 @@ | ||
alias($.decorator_member_expression, $.member_expression), | ||
alias($.decorator_call_expression, $.call_expression)) | ||
alias($.decorator_call_expression, $.call_expression) | ||
) | ||
), | ||
@@ -933,11 +1005,16 @@ | ||
decorator_member_expression: $ => prec(PREC.MEMBER, seq( | ||
seq( | ||
choice($._identifier_reference, alias($.decorator_member_expression, $.member_expression)), | ||
'.', | ||
alias($.identifier, $.property_identifier)) | ||
field('object', choice( | ||
$._identifier_reference, | ||
alias($.decorator_member_expression, $.member_expression) | ||
)), | ||
'.', | ||
field('property', alias($.identifier, $.property_identifier)) | ||
)), | ||
decorator_call_expression: $ => prec(PREC.CALL, seq( | ||
choice($._identifier_reference, alias($.decorator_member_expression, $.member_expression)), | ||
$.arguments | ||
field('function', choice( | ||
$._identifier_reference, | ||
alias($.decorator_member_expression, $.member_expression) | ||
)), | ||
field('arguments', $.arguments) | ||
)), | ||
@@ -947,9 +1024,5 @@ | ||
'{', | ||
repeat(seq( | ||
repeat($.decorator), | ||
optional('static'), | ||
choice( | ||
seq($.method_definition, optional(';')), | ||
seq($.public_field_definition, $._semicolon) | ||
) | ||
repeat(choice( | ||
seq(field('member', $.method_definition), optional(';')), | ||
seq(field('member', $.public_field_definition), $._semicolon) | ||
)), | ||
@@ -959,3 +1032,7 @@ '}' | ||
public_field_definition: $ => seq($._property_name, optional($._initializer)), | ||
public_field_definition: $ => seq( | ||
optional('static'), | ||
field('property', $._property_name), | ||
optional($._initializer) | ||
), | ||
@@ -985,13 +1062,15 @@ formal_parameters: $ => seq( | ||
method_definition: $ => seq( | ||
repeat(field('decorator', $.decorator)), | ||
optional('static'), | ||
optional('async'), | ||
optional(choice('get', 'set', '*')), | ||
$._property_name, | ||
$.formal_parameters, | ||
$.statement_block | ||
field('name', $._property_name), | ||
field('parameters', $.formal_parameters), | ||
field('body', $.statement_block) | ||
), | ||
pair: $ => seq( | ||
$._property_name, | ||
field('key', $._property_name), | ||
':', | ||
$._expression | ||
field('value', $._expression) | ||
), | ||
@@ -1018,3 +1097,4 @@ | ||
'set', | ||
'async' | ||
'async', | ||
'static', | ||
), | ||
@@ -1021,0 +1101,0 @@ |
{ | ||
"name": "tree-sitter-javascript", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"description": "Javascript grammar for node-tree-sitter", | ||
@@ -19,3 +19,3 @@ "main": "index.js", | ||
"esprima": "^2.7.1", | ||
"tree-sitter-cli": "^0.15.3", | ||
"tree-sitter-cli": "^0.15.5", | ||
"tree-sitter-highlight-schema": "0.1.1" | ||
@@ -22,0 +22,0 @@ }, |
[ | ||
{ | ||
"type": "anonymous_class", | ||
"type": "_declaration", | ||
"named": true, | ||
"fields": {} | ||
"subtypes": [ | ||
{ | ||
"type": "class_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "function_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "generator_function_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "lexical_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "variable_declaration", | ||
"named": true | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true, | ||
"subtypes": [ | ||
{ | ||
"type": "array_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "object_pattern", | ||
"named": true | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "_expression", | ||
"named": true, | ||
"subtypes": [ | ||
{ | ||
"type": "array", | ||
"named": true | ||
}, | ||
{ | ||
"type": "arrow_function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "assignment_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "augmented_assignment_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "await_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "binary_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "call_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "class", | ||
"named": true | ||
}, | ||
{ | ||
"type": "false", | ||
"named": true | ||
}, | ||
{ | ||
"type": "function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "generator_function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_fragment", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_self_closing_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "meta_property", | ||
"named": true | ||
}, | ||
{ | ||
"type": "new_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "null", | ||
"named": true | ||
}, | ||
{ | ||
"type": "number", | ||
"named": true | ||
}, | ||
{ | ||
"type": "object", | ||
"named": true | ||
}, | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "regex", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
}, | ||
{ | ||
"type": "subscript_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "template_string", | ||
"named": true | ||
}, | ||
{ | ||
"type": "ternary_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "this", | ||
"named": true | ||
}, | ||
{ | ||
"type": "true", | ||
"named": true | ||
}, | ||
{ | ||
"type": "unary_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "undefined", | ||
"named": true | ||
}, | ||
{ | ||
"type": "update_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "yield_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "_statement", | ||
"named": true, | ||
"subtypes": [ | ||
{ | ||
"type": "_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "break_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "continue_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "debugger_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "do_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "empty_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "export_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "expression_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "for_in_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "for_of_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "for_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "if_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "import_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "labeled_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "return_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
}, | ||
{ | ||
"type": "switch_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "throw_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "try_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "while_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "with_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "arguments", | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "spread_element", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -15,3 +292,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "spread_element", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -21,3 +312,38 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameter": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -27,3 +353,36 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"left": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "subscript_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -33,3 +392,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"left": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "shorthand_property_identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -39,3 +423,32 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"left": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "subscript_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -45,3 +458,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -51,3 +474,138 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"left": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "array", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "object", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"operator": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "!=", | ||
"named": false | ||
}, | ||
{ | ||
"type": "!==", | ||
"named": false | ||
}, | ||
{ | ||
"type": "%", | ||
"named": false | ||
}, | ||
{ | ||
"type": "&", | ||
"named": false | ||
}, | ||
{ | ||
"type": "&&", | ||
"named": false | ||
}, | ||
{ | ||
"type": "*", | ||
"named": false | ||
}, | ||
{ | ||
"type": "**", | ||
"named": false | ||
}, | ||
{ | ||
"type": "+", | ||
"named": false | ||
}, | ||
{ | ||
"type": "-", | ||
"named": false | ||
}, | ||
{ | ||
"type": "/", | ||
"named": false | ||
}, | ||
{ | ||
"type": "<", | ||
"named": false | ||
}, | ||
{ | ||
"type": "<<", | ||
"named": false | ||
}, | ||
{ | ||
"type": "<=", | ||
"named": false | ||
}, | ||
{ | ||
"type": "==", | ||
"named": false | ||
}, | ||
{ | ||
"type": "===", | ||
"named": false | ||
}, | ||
{ | ||
"type": ">", | ||
"named": false | ||
}, | ||
{ | ||
"type": ">=", | ||
"named": false | ||
}, | ||
{ | ||
"type": ">>", | ||
"named": false | ||
}, | ||
{ | ||
"type": ">>>", | ||
"named": false | ||
}, | ||
{ | ||
"type": "^", | ||
"named": false | ||
}, | ||
{ | ||
"type": "in", | ||
"named": false | ||
}, | ||
{ | ||
"type": "instanceof", | ||
"named": false | ||
}, | ||
{ | ||
"type": "|", | ||
"named": false | ||
}, | ||
{ | ||
"type": "||", | ||
"named": false | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -57,3 +615,14 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"label": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "statement_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -63,3 +632,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"arguments": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "arguments", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"function": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -69,3 +663,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameter": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -75,3 +690,44 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "class_body", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"decorator": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "decorator", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "class_heritage", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -81,8 +737,79 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"member": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "method_definition", | ||
"named": true | ||
}, | ||
{ | ||
"type": "public_field_definition", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "class_declaration", | ||
"named": true, | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "class_body", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"decorator": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "decorator", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "class_heritage", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "class_heritage", | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -92,3 +819,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -98,3 +835,14 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"label": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "statement_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -109,3 +857,21 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "call_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -115,3 +881,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"condition": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -126,3 +913,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "export_specifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -132,3 +929,54 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"declaration": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_declaration", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"decorator": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "decorator", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"source": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"value": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "export_clause", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -138,3 +986,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -144,3 +1006,14 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -150,3 +1023,42 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"left": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -156,3 +1068,38 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"left": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -162,3 +1109,64 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"condition": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "empty_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "expression_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"increment": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"initializer": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "empty_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "expression_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "lexical_declaration", | ||
"named": true | ||
}, | ||
{ | ||
"type": "variable_declaration", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -168,3 +1176,25 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "assignment_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "rest_parameter", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -174,13 +1204,178 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "function_declaration", | ||
"named": true, | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "generator_function", | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "generator_function_declaration", | ||
"named": true, | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "if_statement", | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"alternative": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"condition": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"consequence": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -190,3 +1385,21 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "named_imports", | ||
"named": true | ||
}, | ||
{ | ||
"type": "namespace_import", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -196,3 +1409,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"source": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "import_clause", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -202,3 +1436,37 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "jsx_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_fragment", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_namespace_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_self_closing_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "property_identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -208,3 +1476,22 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_namespace_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "nested_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -214,3 +1501,46 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"close_tag": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "jsx_closing_element", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"open_tag": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "jsx_opening_element", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "jsx_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_self_closing_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_text", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -220,3 +1550,21 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "spread_element", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -226,3 +1574,25 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "jsx_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_self_closing_element", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_text", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -232,3 +1602,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -238,3 +1618,36 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"attribute": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "jsx_attribute", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_namespace_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "nested_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -244,3 +1657,36 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"attribute": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "jsx_attribute", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "jsx_namespace_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "nested_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -250,3 +1696,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"label": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -256,3 +1723,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "variable_declarator", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -262,3 +1739,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"object": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"property": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "property_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -273,3 +1775,56 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"decorator": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "decorator", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "computed_property_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "number", | ||
"named": true | ||
}, | ||
{ | ||
"type": "property_identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"parameters": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "formal_parameters", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -279,3 +1834,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "import_specifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -285,3 +1850,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -291,3 +1866,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "nested_identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -297,3 +1886,104 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"arguments": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "arguments", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"constructor": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "array", | ||
"named": true | ||
}, | ||
{ | ||
"type": "arrow_function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "class", | ||
"named": true | ||
}, | ||
{ | ||
"type": "false", | ||
"named": true | ||
}, | ||
{ | ||
"type": "function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "generator_function", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "member_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "meta_property", | ||
"named": true | ||
}, | ||
{ | ||
"type": "new_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "null", | ||
"named": true | ||
}, | ||
{ | ||
"type": "number", | ||
"named": true | ||
}, | ||
{ | ||
"type": "object", | ||
"named": true | ||
}, | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "regex", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
}, | ||
{ | ||
"type": "subscript_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "template_string", | ||
"named": true | ||
}, | ||
{ | ||
"type": "this", | ||
"named": true | ||
}, | ||
{ | ||
"type": "true", | ||
"named": true | ||
}, | ||
{ | ||
"type": "undefined", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -303,3 +1993,29 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "assignment_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "method_definition", | ||
"named": true | ||
}, | ||
{ | ||
"type": "pair", | ||
"named": true | ||
}, | ||
{ | ||
"type": "shorthand_property_identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "spread_element", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -309,3 +2025,36 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"key": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "computed_property_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "number", | ||
"named": true | ||
}, | ||
{ | ||
"type": "property_identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"value": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -315,3 +2064,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -321,3 +2084,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
}, | ||
{ | ||
"type": "hash_bang_line", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -327,3 +2104,36 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"property": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "computed_property_name", | ||
"named": true | ||
}, | ||
{ | ||
"type": "number", | ||
"named": true | ||
}, | ||
{ | ||
"type": "property_identifier", | ||
"named": true | ||
}, | ||
{ | ||
"type": "string", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"value": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -333,3 +2143,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"flags": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "regex_flags", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"pattern": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "regex_pattern", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -339,3 +2170,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -345,3 +2186,18 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"argument": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -351,3 +2207,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"left": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"right": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -357,3 +2238,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -363,3 +2254,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -369,3 +2270,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "escape_sequence", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -375,3 +2286,32 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"index": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"object": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "super", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -381,3 +2321,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "switch_case", | ||
"named": true | ||
}, | ||
{ | ||
"type": "switch_default", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -387,3 +2341,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"value": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -393,3 +2372,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -399,3 +2388,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "switch_body", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"value": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -405,3 +2419,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "escape_sequence", | ||
"named": true | ||
}, | ||
{ | ||
"type": "template_substitution", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -411,3 +2439,17 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -417,3 +2459,34 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"alternative": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"condition": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"consequence": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -423,3 +2496,18 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"argument": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
}, | ||
{ | ||
"type": "sequence_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -429,3 +2517,34 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "statement_block", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"finalizer": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "finally_clause", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"handler": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "catch_clause", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -435,3 +2554,48 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"argument": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"operator": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "!", | ||
"named": false | ||
}, | ||
{ | ||
"type": "+", | ||
"named": false | ||
}, | ||
{ | ||
"type": "-", | ||
"named": false | ||
}, | ||
{ | ||
"type": "delete", | ||
"named": false | ||
}, | ||
{ | ||
"type": "typeof", | ||
"named": false | ||
}, | ||
{ | ||
"type": "void", | ||
"named": false | ||
}, | ||
{ | ||
"type": "~", | ||
"named": false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -441,3 +2605,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"argument": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"operator": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "++", | ||
"named": false | ||
}, | ||
{ | ||
"type": "--", | ||
"named": false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -447,3 +2636,13 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": {}, | ||
"children": { | ||
"multiple": true, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "variable_declarator", | ||
"named": true | ||
} | ||
] | ||
} | ||
}, | ||
@@ -453,3 +2652,28 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"name": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_destructuring_pattern", | ||
"named": true | ||
}, | ||
{ | ||
"type": "identifier", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"value": { | ||
"multiple": false, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -459,3 +2683,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"condition": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -465,3 +2710,24 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"body": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "_statement", | ||
"named": true | ||
} | ||
] | ||
}, | ||
"object": { | ||
"multiple": true, | ||
"required": true, | ||
"types": [ | ||
{ | ||
"type": "parenthesized_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -471,3 +2737,14 @@ { | ||
"named": true, | ||
"fields": {} | ||
"fields": { | ||
"argument": { | ||
"multiple": false, | ||
"required": false, | ||
"types": [ | ||
{ | ||
"type": "_expression", | ||
"named": true | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
@@ -539,11 +2816,11 @@ { | ||
{ | ||
"type": "for", | ||
"type": "(", | ||
"named": false | ||
}, | ||
{ | ||
"type": "(", | ||
"type": ")", | ||
"named": false | ||
}, | ||
{ | ||
"type": ")", | ||
"type": "for", | ||
"named": false | ||
@@ -624,2 +2901,6 @@ }, | ||
{ | ||
"type": "=", | ||
"named": false | ||
}, | ||
{ | ||
"type": "[", | ||
@@ -657,6 +2938,2 @@ "named": false | ||
{ | ||
"type": "=", | ||
"named": false | ||
}, | ||
{ | ||
"type": "class", | ||
@@ -663,0 +2940,0 @@ "named": false |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4269773
120337
1