Files
codeql/javascript/extractor/tests/regexp/output/trap/es2018.js.trap
2026-02-27 14:15:34 +01:00

304 lines
8.5 KiB
Plaintext

#10000=@"/es2018.js;sourcefile"
files(#10000,"/es2018.js")
#10001=@"/;folder"
folders(#10001,"/")
containerparent(#10001,#10000)
#10002=@"loc,{#10000},0,0,0,0"
locations_default(#10002,#10000,0,0,0,0)
hasLocation(#10000,#10002)
#20000=@"global_scope"
scopes(#20000,0)
#20001=@"script;{#10000},1,1"
#20002=*
lines(#20002,#20001,"/^(?<ws>\s+)\w+\k<ws>$/;","
")
#20003=@"loc,{#10000},1,1,1,24"
locations_default(#20003,#10000,1,1,1,24)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001,"/(?<=.)/;","
")
#20005=@"loc,{#10000},2,1,2,9"
locations_default(#20005,#10000,2,1,2,9)
hasLocation(#20004,#20005)
#20006=*
lines(#20006,#20001,"/(?<!.)/;","
")
#20007=@"loc,{#10000},3,1,3,9"
locations_default(#20007,#10000,3,1,3,9)
hasLocation(#20006,#20007)
#20008=*
lines(#20008,#20001,"/\p{Number}/u;","
")
#20009=@"loc,{#10000},4,1,4,14"
locations_default(#20009,#10000,4,1,4,14)
hasLocation(#20008,#20009)
#20010=*
lines(#20010,#20001,"/\P{Script=Greek}/u;","
")
#20011=@"loc,{#10000},5,1,5,20"
locations_default(#20011,#10000,5,1,5,20)
hasLocation(#20010,#20011)
#20012=*
lines(#20012,#20001,"/\k</;","
")
#20013=@"loc,{#10000},6,1,6,6"
locations_default(#20013,#10000,6,1,6,6)
hasLocation(#20012,#20013)
numlines(#20001,6,6,0)
#20014=*
tokeninfo(#20014,5,#20001,0,"/^(?<ws>\s+)\w+\k<ws>$/")
#20015=@"loc,{#10000},1,1,1,23"
locations_default(#20015,#10000,1,1,1,23)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,1,";")
#20017=@"loc,{#10000},1,24,1,24"
locations_default(#20017,#10000,1,24,1,24)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,5,#20001,2,"/(?<=.)/")
#20019=@"loc,{#10000},2,1,2,8"
locations_default(#20019,#10000,2,1,2,8)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,3,";")
#20021=@"loc,{#10000},2,9,2,9"
locations_default(#20021,#10000,2,9,2,9)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,5,#20001,4,"/(?<!.)/")
#20023=@"loc,{#10000},3,1,3,8"
locations_default(#20023,#10000,3,1,3,8)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,8,#20001,5,";")
#20025=@"loc,{#10000},3,9,3,9"
locations_default(#20025,#10000,3,9,3,9)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,5,#20001,6,"/\p{Number}/u")
#20027=@"loc,{#10000},4,1,4,13"
locations_default(#20027,#10000,4,1,4,13)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,8,#20001,7,";")
#20029=@"loc,{#10000},4,14,4,14"
locations_default(#20029,#10000,4,14,4,14)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,5,#20001,8,"/\P{Script=Greek}/u")
#20031=@"loc,{#10000},5,1,5,19"
locations_default(#20031,#10000,5,1,5,19)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,8,#20001,9,";")
#20033=@"loc,{#10000},5,20,5,20"
locations_default(#20033,#10000,5,20,5,20)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,5,#20001,10,"/\k</")
#20035=@"loc,{#10000},6,1,6,5"
locations_default(#20035,#10000,6,1,6,5)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,8,#20001,11,";")
#20037=@"loc,{#10000},6,6,6,6"
locations_default(#20037,#10000,6,6,6,6)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,0,#20001,12,"")
#20039=@"loc,{#10000},7,1,7,0"
locations_default(#20039,#10000,7,1,7,0)
hasLocation(#20038,#20039)
toplevels(#20001,0)
#20040=@"loc,{#10000},1,1,7,0"
locations_default(#20040,#10000,1,1,7,0)
hasLocation(#20001,#20040)
#20041=@"var;{this};{#20000}"
variables(#20041,"this",#20000)
#20042=*
stmts(#20042,2,#20001,0,"/^(?<ws ... <ws>$/;")
hasLocation(#20042,#20003)
stmt_containers(#20042,#20001)
#20043=*
exprs(#20043,5,#20042,0,"/^(?<ws ... k<ws>$/")
hasLocation(#20043,#20015)
enclosing_stmt(#20043,#20042)
expr_containers(#20043,#20001)
literals("/^(?<ws>\s+)\w+\k<ws>$/","/^(?<ws>\s+)\w+\k<ws>$/",#20043)
#20044=*
regexpterm(#20044,1,#20043,0,"^(?<ws>\s+)\w+\k<ws>$")
#20045=@"loc,{#10000},1,2,1,22"
locations_default(#20045,#10000,1,2,1,22)
hasLocation(#20044,#20045)
#20046=*
regexpterm(#20046,2,#20044,0,"^")
#20047=@"loc,{#10000},1,2,1,2"
locations_default(#20047,#10000,1,2,1,2)
hasLocation(#20046,#20047)
#20048=*
regexpterm(#20048,13,#20044,1,"(?<ws>\s+)")
#20049=@"loc,{#10000},1,3,1,12"
locations_default(#20049,#10000,1,3,1,12)
hasLocation(#20048,#20049)
is_capture(#20048,1)
is_named_capture(#20048,"ws")
#20050=*
regexpterm(#20050,9,#20048,0,"\s+")
#20051=@"loc,{#10000},1,9,1,11"
locations_default(#20051,#10000,1,9,1,11)
hasLocation(#20050,#20051)
is_greedy(#20050)
#20052=*
regexpterm(#20052,20,#20050,0,"\s")
#20053=@"loc,{#10000},1,9,1,10"
locations_default(#20053,#10000,1,9,1,10)
hasLocation(#20052,#20053)
char_class_escape(#20052,"s")
#20054=*
regexpterm(#20054,9,#20044,2,"\w+")
#20055=@"loc,{#10000},1,13,1,15"
locations_default(#20055,#10000,1,13,1,15)
hasLocation(#20054,#20055)
is_greedy(#20054)
#20056=*
regexpterm(#20056,20,#20054,0,"\w")
#20057=@"loc,{#10000},1,13,1,14"
locations_default(#20057,#10000,1,13,1,14)
hasLocation(#20056,#20057)
char_class_escape(#20056,"w")
#20058=*
regexpterm(#20058,22,#20044,3,"\k<ws>")
#20059=@"loc,{#10000},1,16,1,21"
locations_default(#20059,#10000,1,16,1,21)
hasLocation(#20058,#20059)
named_backref(#20058,"ws")
#20060=*
regexpterm(#20060,3,#20044,4,"$")
#20061=@"loc,{#10000},1,22,1,22"
locations_default(#20061,#10000,1,22,1,22)
hasLocation(#20060,#20061)
#20062=*
stmts(#20062,2,#20001,1,"/(?<=.)/;")
hasLocation(#20062,#20005)
stmt_containers(#20062,#20001)
#20063=*
exprs(#20063,5,#20062,0,"/(?<=.)/")
hasLocation(#20063,#20019)
enclosing_stmt(#20063,#20062)
expr_containers(#20063,#20001)
literals("/(?<=.)/","/(?<=.)/",#20063)
#20064=*
regexpterm(#20064,25,#20063,0,"(?<=.)")
#20065=@"loc,{#10000},2,2,2,7"
locations_default(#20065,#10000,2,2,2,7)
hasLocation(#20064,#20065)
#20066=*
regexpterm(#20066,12,#20064,0,".")
#20067=@"loc,{#10000},2,6,2,6"
locations_default(#20067,#10000,2,6,2,6)
hasLocation(#20066,#20067)
#20068=*
stmts(#20068,2,#20001,2,"/(?<!.)/;")
hasLocation(#20068,#20007)
stmt_containers(#20068,#20001)
#20069=*
exprs(#20069,5,#20068,0,"/(?<!.)/")
hasLocation(#20069,#20023)
enclosing_stmt(#20069,#20068)
expr_containers(#20069,#20001)
literals("/(?<!.)/","/(?<!.)/",#20069)
#20070=*
regexpterm(#20070,26,#20069,0,"(?<!.)")
#20071=@"loc,{#10000},3,2,3,7"
locations_default(#20071,#10000,3,2,3,7)
hasLocation(#20070,#20071)
#20072=*
regexpterm(#20072,12,#20070,0,".")
#20073=@"loc,{#10000},3,6,3,6"
locations_default(#20073,#10000,3,6,3,6)
hasLocation(#20072,#20073)
#20074=*
stmts(#20074,2,#20001,3,"/\p{Number}/u;")
hasLocation(#20074,#20009)
stmt_containers(#20074,#20001)
#20075=*
exprs(#20075,5,#20074,0,"/\p{Number}/u")
hasLocation(#20075,#20027)
enclosing_stmt(#20075,#20074)
expr_containers(#20075,#20001)
literals("/\p{Number}/u","/\p{Number}/u",#20075)
#20076=*
regexpterm(#20076,27,#20075,0,"\p{Number}")
#20077=@"loc,{#10000},4,2,4,11"
locations_default(#20077,#10000,4,2,4,11)
hasLocation(#20076,#20077)
unicode_property_escapename(#20076,"Number")
#20078=*
stmts(#20078,2,#20001,4,"/\P{Script=Greek}/u;")
hasLocation(#20078,#20011)
stmt_containers(#20078,#20001)
#20079=*
exprs(#20079,5,#20078,0,"/\P{Script=Greek}/u")
hasLocation(#20079,#20031)
enclosing_stmt(#20079,#20078)
expr_containers(#20079,#20001)
literals("/\P{Script=Greek}/u","/\P{Script=Greek}/u",#20079)
#20080=*
regexpterm(#20080,27,#20079,0,"\P{Script=Greek}")
#20081=@"loc,{#10000},5,2,5,17"
locations_default(#20081,#10000,5,2,5,17)
hasLocation(#20080,#20081)
unicode_property_escapename(#20080,"Script")
unicode_property_escapevalue(#20080,"Greek")
#20082=*
stmts(#20082,2,#20001,5,"/\k</;")
hasLocation(#20082,#20013)
stmt_containers(#20082,#20001)
#20083=*
exprs(#20083,5,#20082,0,"/\k</")
hasLocation(#20083,#20035)
enclosing_stmt(#20083,#20082)
expr_containers(#20083,#20001)
literals("/\k</","/\k</",#20083)
#20084=*
regexpterm(#20084,22,#20083,0,"\k<")
#20085=@"loc,{#10000},6,2,6,4"
locations_default(#20085,#10000,6,2,6,4)
hasLocation(#20084,#20085)
named_backref(#20084,"")
#20086=*
regexp_parse_errors(#20086,#20084,"expected identifier")
#20087=@"loc,{#10000},6,5,6,5"
locations_default(#20087,#10000,6,5,6,5)
hasLocation(#20086,#20087)
#20088=*
regexp_parse_errors(#20088,#20084,"expected '>'")
#20089=@"loc,{#10000},6,4,6,4"
locations_default(#20089,#10000,6,4,6,4)
hasLocation(#20088,#20089)
#20090=*
entry_cfg_node(#20090,#20001)
#20091=@"loc,{#10000},1,1,1,0"
locations_default(#20091,#10000,1,1,1,0)
hasLocation(#20090,#20091)
#20092=*
exit_cfg_node(#20092,#20001)
hasLocation(#20092,#20039)
successor(#20082,#20083)
successor(#20083,#20092)
successor(#20078,#20079)
successor(#20079,#20082)
successor(#20074,#20075)
successor(#20075,#20078)
successor(#20068,#20069)
successor(#20069,#20074)
successor(#20062,#20063)
successor(#20063,#20068)
successor(#20042,#20043)
successor(#20043,#20062)
successor(#20090,#20042)
numlines(#10000,6,6,0)
filetype(#10000,"javascript")