File tree Expand file tree Collapse file tree 6 files changed +186130
-173122
lines changed Expand file tree Collapse file tree 6 files changed +186130
-173122
lines changed Original file line number Diff line number Diff line change 49244924 },
49254925 {
49264926 "type" : " PATTERN" ,
4927- "value" : " [^*]*\\ *+([^\\ /*][^*]*\\ *+)*"
4927+ "value" : " [^*]*\\ *+([^/*][^*]*\\ *+)*"
49284928 },
49294929 {
49304930 "type" : " STRING" ,
50865086 },
50875087 {
50885088 "type" : " PATTERN" ,
5089- "value" : " [^\\ /\\\\\\ [\\ n]"
5089+ "value" : " [^/\\\\\\ [\\ n]"
50905090 }
50915091 ]
50925092 }
55955595 "members" : [
55965596 {
55975597 "type" : " PATTERN" ,
5598- "value" : " [^\\ x00-\\ x1F\\ s0-9:;`\" '@#.,|^&<=>+\\ -*\\ /\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5598+ "value" : " [^\\ x00-\\ x1F\\ s0-9:;`\" '@#.,|^&<=>+\\ -*/\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
55995599 },
56005600 {
56015601 "type" : " REPEAT" ,
56025602 "content" : {
56035603 "type" : " PATTERN" ,
5604- "value" : " [^\\ x00-\\ x1F\\ s:;`\" '@#.,|^&<=>+\\ -*\\ /\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5604+ "value" : " [^\\ x00-\\ x1F\\ s:;`\" '@#.,|^&<=>+\\ -*/\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
56055605 }
56065606 }
56075607 ]
67796779 ]
67806780 },
67816781 "function_signature" : {
6782- "type" : " SEQ" ,
6783- "members" : [
6784- {
6785- "type" : " CHOICE" ,
6786- "members" : [
6787- {
6788- "type" : " STRING" ,
6789- "value" : " async"
6790- },
6791- {
6792- "type" : " BLANK"
6782+ "type" : " PREC_RIGHT" ,
6783+ "value" : 0 ,
6784+ "content" : {
6785+ "type" : " SEQ" ,
6786+ "members" : [
6787+ {
6788+ "type" : " CHOICE" ,
6789+ "members" : [
6790+ {
6791+ "type" : " STRING" ,
6792+ "value" : " async"
6793+ },
6794+ {
6795+ "type" : " BLANK"
6796+ }
6797+ ]
6798+ },
6799+ {
6800+ "type" : " STRING" ,
6801+ "value" : " function"
6802+ },
6803+ {
6804+ "type" : " FIELD" ,
6805+ "name" : " name" ,
6806+ "content" : {
6807+ "type" : " SYMBOL" ,
6808+ "name" : " identifier"
6809+ }
6810+ },
6811+ {
6812+ "type" : " FIELD" ,
6813+ "name" : " type_parameters" ,
6814+ "content" : {
6815+ "type" : " CHOICE" ,
6816+ "members" : [
6817+ {
6818+ "type" : " SYMBOL" ,
6819+ "name" : " type_parameters"
6820+ },
6821+ {
6822+ "type" : " BLANK"
6823+ }
6824+ ]
6825+ }
6826+ },
6827+ {
6828+ "type" : " FIELD" ,
6829+ "name" : " parameters" ,
6830+ "content" : {
6831+ "type" : " SYMBOL" ,
6832+ "name" : " formal_parameters"
6833+ }
6834+ },
6835+ {
6836+ "type" : " FIELD" ,
6837+ "name" : " return_type" ,
6838+ "content" : {
6839+ "type" : " CHOICE" ,
6840+ "members" : [
6841+ {
6842+ "type" : " SEQ" ,
6843+ "members" : [
6844+ {
6845+ "type" : " CHOICE" ,
6846+ "members" : [
6847+ {
6848+ "type" : " SYMBOL" ,
6849+ "name" : " type_annotation"
6850+ },
6851+ {
6852+ "type" : " SYMBOL" ,
6853+ "name" : " asserts"
6854+ },
6855+ {
6856+ "type" : " SYMBOL" ,
6857+ "name" : " type_predicate_annotation"
6858+ }
6859+ ]
6860+ },
6861+ {
6862+ "type" : " SYMBOL" ,
6863+ "name" : " _function_signature_semicolon"
6864+ }
6865+ ]
6866+ },
6867+ {
6868+ "type" : " SEQ" ,
6869+ "members" : [
6870+ {
6871+ "type" : " SYMBOL" ,
6872+ "name" : " _function_signature_semicolon"
6873+ },
6874+ {
6875+ "type" : " CHOICE" ,
6876+ "members" : [
6877+ {
6878+ "type" : " CHOICE" ,
6879+ "members" : [
6880+ {
6881+ "type" : " SYMBOL" ,
6882+ "name" : " type_annotation"
6883+ },
6884+ {
6885+ "type" : " SYMBOL" ,
6886+ "name" : " asserts"
6887+ },
6888+ {
6889+ "type" : " SYMBOL" ,
6890+ "name" : " type_predicate_annotation"
6891+ }
6892+ ]
6893+ },
6894+ {
6895+ "type" : " BLANK"
6896+ }
6897+ ]
6898+ },
6899+ {
6900+ "type" : " CHOICE" ,
6901+ "members" : [
6902+ {
6903+ "type" : " STRING" ,
6904+ "value" : " ;"
6905+ },
6906+ {
6907+ "type" : " BLANK"
6908+ }
6909+ ]
6910+ }
6911+ ]
6912+ }
6913+ ]
67936914 }
6794- ]
6795- },
6796- {
6797- "type" : " STRING" ,
6798- "value" : " function"
6799- },
6800- {
6801- "type" : " FIELD" ,
6802- "name" : " name" ,
6803- "content" : {
6804- "type" : " SYMBOL" ,
6805- "name" : " identifier"
68066915 }
6807- },
6808- {
6809- "type" : " SYMBOL" ,
6810- "name" : " _call_signature"
6811- },
6812- {
6813- "type" : " SYMBOL" ,
6814- "name" : " _semicolon"
6815- }
6816- ]
6916+ ]
6917+ }
68176918 },
68186919 "type_assertion" : {
68196920 "type" : " PREC" ,
92829383 {
92839384 "type" : " STRING" ,
92849385 "value" : " ||"
9386+ },
9387+ {
9388+ "type" : " SYMBOL" ,
9389+ "name" : " _function_signature_semicolon"
92859390 }
92869391 ],
92879392 "inline" : [
Original file line number Diff line number Diff line change 28442844 ]
28452845 },
28462846 "return_type" : {
2847- "multiple" : false ,
2848- "required" : false ,
2847+ "multiple" : true ,
2848+ "required" : true ,
28492849 "types" : [
2850+ {
2851+ "type" : " ;" ,
2852+ "named" : false
2853+ },
28502854 {
28512855 "type" : " asserts" ,
28522856 "named" : true
You can’t perform that action at this time.
0 commit comments