Files
codeql/javascript/extractor/tests/regexp/output/trap/es2018.js.trap

302 lines
8.5 KiB
Plaintext

#10000=@"/es2018.js;sourcefile"
files(#10000,"/es2018.js","es2018","js",0)
#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=*
stmts(#20041,2,#20001,0,"/^(?<ws ... <ws>$/;")
hasLocation(#20041,#20003)
stmt_containers(#20041,#20001)
#20042=*
exprs(#20042,5,#20041,0,"/^(?<ws ... k<ws>$/")
hasLocation(#20042,#20015)
enclosing_stmt(#20042,#20041)
expr_containers(#20042,#20001)
literals("/^(?<ws>\s+)\w+\k<ws>$/","/^(?<ws>\s+)\w+\k<ws>$/",#20042)
#20043=*
regexpterm(#20043,1,#20042,0,"^(?<ws>\s+)\w+\k<ws>$")
#20044=@"loc,{#10000},1,2,1,22"
locations_default(#20044,#10000,1,2,1,22)
hasLocation(#20043,#20044)
#20045=*
regexpterm(#20045,2,#20043,0,"^")
#20046=@"loc,{#10000},1,2,1,2"
locations_default(#20046,#10000,1,2,1,2)
hasLocation(#20045,#20046)
#20047=*
regexpterm(#20047,13,#20043,1,"(?<ws>\s+)")
#20048=@"loc,{#10000},1,3,1,12"
locations_default(#20048,#10000,1,3,1,12)
hasLocation(#20047,#20048)
is_capture(#20047,1)
is_named_capture(#20047,"ws")
#20049=*
regexpterm(#20049,9,#20047,0,"\s+")
#20050=@"loc,{#10000},1,9,1,11"
locations_default(#20050,#10000,1,9,1,11)
hasLocation(#20049,#20050)
is_greedy(#20049)
#20051=*
regexpterm(#20051,20,#20049,0,"\s")
#20052=@"loc,{#10000},1,9,1,10"
locations_default(#20052,#10000,1,9,1,10)
hasLocation(#20051,#20052)
char_class_escape(#20051,"s")
#20053=*
regexpterm(#20053,9,#20043,2,"\w+")
#20054=@"loc,{#10000},1,13,1,15"
locations_default(#20054,#10000,1,13,1,15)
hasLocation(#20053,#20054)
is_greedy(#20053)
#20055=*
regexpterm(#20055,20,#20053,0,"\w")
#20056=@"loc,{#10000},1,13,1,14"
locations_default(#20056,#10000,1,13,1,14)
hasLocation(#20055,#20056)
char_class_escape(#20055,"w")
#20057=*
regexpterm(#20057,22,#20043,3,"\k<ws>")
#20058=@"loc,{#10000},1,16,1,21"
locations_default(#20058,#10000,1,16,1,21)
hasLocation(#20057,#20058)
named_backref(#20057,"ws")
#20059=*
regexpterm(#20059,3,#20043,4,"$")
#20060=@"loc,{#10000},1,22,1,22"
locations_default(#20060,#10000,1,22,1,22)
hasLocation(#20059,#20060)
#20061=*
stmts(#20061,2,#20001,1,"/(?<=.)/;")
hasLocation(#20061,#20005)
stmt_containers(#20061,#20001)
#20062=*
exprs(#20062,5,#20061,0,"/(?<=.)/")
hasLocation(#20062,#20019)
enclosing_stmt(#20062,#20061)
expr_containers(#20062,#20001)
literals("/(?<=.)/","/(?<=.)/",#20062)
#20063=*
regexpterm(#20063,25,#20062,0,"(?<=.)")
#20064=@"loc,{#10000},2,2,2,7"
locations_default(#20064,#10000,2,2,2,7)
hasLocation(#20063,#20064)
#20065=*
regexpterm(#20065,12,#20063,0,".")
#20066=@"loc,{#10000},2,6,2,6"
locations_default(#20066,#10000,2,6,2,6)
hasLocation(#20065,#20066)
#20067=*
stmts(#20067,2,#20001,2,"/(?<!.)/;")
hasLocation(#20067,#20007)
stmt_containers(#20067,#20001)
#20068=*
exprs(#20068,5,#20067,0,"/(?<!.)/")
hasLocation(#20068,#20023)
enclosing_stmt(#20068,#20067)
expr_containers(#20068,#20001)
literals("/(?<!.)/","/(?<!.)/",#20068)
#20069=*
regexpterm(#20069,26,#20068,0,"(?<!.)")
#20070=@"loc,{#10000},3,2,3,7"
locations_default(#20070,#10000,3,2,3,7)
hasLocation(#20069,#20070)
#20071=*
regexpterm(#20071,12,#20069,0,".")
#20072=@"loc,{#10000},3,6,3,6"
locations_default(#20072,#10000,3,6,3,6)
hasLocation(#20071,#20072)
#20073=*
stmts(#20073,2,#20001,3,"/\p{Number}/u;")
hasLocation(#20073,#20009)
stmt_containers(#20073,#20001)
#20074=*
exprs(#20074,5,#20073,0,"/\p{Number}/u")
hasLocation(#20074,#20027)
enclosing_stmt(#20074,#20073)
expr_containers(#20074,#20001)
literals("/\p{Number}/u","/\p{Number}/u",#20074)
#20075=*
regexpterm(#20075,27,#20074,0,"\p{Number}")
#20076=@"loc,{#10000},4,2,4,11"
locations_default(#20076,#10000,4,2,4,11)
hasLocation(#20075,#20076)
unicode_property_escapename(#20075,"Number")
#20077=*
stmts(#20077,2,#20001,4,"/\P{Script=Greek}/u;")
hasLocation(#20077,#20011)
stmt_containers(#20077,#20001)
#20078=*
exprs(#20078,5,#20077,0,"/\P{Script=Greek}/u")
hasLocation(#20078,#20031)
enclosing_stmt(#20078,#20077)
expr_containers(#20078,#20001)
literals("/\P{Script=Greek}/u","/\P{Script=Greek}/u",#20078)
#20079=*
regexpterm(#20079,27,#20078,0,"\P{Script=Greek}")
#20080=@"loc,{#10000},5,2,5,17"
locations_default(#20080,#10000,5,2,5,17)
hasLocation(#20079,#20080)
unicode_property_escapename(#20079,"Script")
unicode_property_escapevalue(#20079,"Greek")
#20081=*
stmts(#20081,2,#20001,5,"/\k</;")
hasLocation(#20081,#20013)
stmt_containers(#20081,#20001)
#20082=*
exprs(#20082,5,#20081,0,"/\k</")
hasLocation(#20082,#20035)
enclosing_stmt(#20082,#20081)
expr_containers(#20082,#20001)
literals("/\k</","/\k</",#20082)
#20083=*
regexpterm(#20083,22,#20082,0,"\k<")
#20084=@"loc,{#10000},6,2,6,4"
locations_default(#20084,#10000,6,2,6,4)
hasLocation(#20083,#20084)
named_backref(#20083,"")
#20085=*
regexp_parse_errors(#20085,#20083,"expected identifier")
#20086=@"loc,{#10000},6,5,6,5"
locations_default(#20086,#10000,6,5,6,5)
hasLocation(#20085,#20086)
#20087=*
regexp_parse_errors(#20087,#20083,"expected '>'")
#20088=@"loc,{#10000},6,4,6,4"
locations_default(#20088,#10000,6,4,6,4)
hasLocation(#20087,#20088)
#20089=*
entry_cfg_node(#20089,#20001)
#20090=@"loc,{#10000},1,1,1,0"
locations_default(#20090,#10000,1,1,1,0)
hasLocation(#20089,#20090)
#20091=*
exit_cfg_node(#20091,#20001)
hasLocation(#20091,#20039)
successor(#20081,#20082)
successor(#20082,#20091)
successor(#20077,#20078)
successor(#20078,#20081)
successor(#20073,#20074)
successor(#20074,#20077)
successor(#20067,#20068)
successor(#20068,#20073)
successor(#20061,#20062)
successor(#20062,#20067)
successor(#20041,#20042)
successor(#20042,#20061)
successor(#20089,#20041)
numlines(#10000,6,6,0)
filetype(#10000,"javascript")