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

206 lines
5.4 KiB
Plaintext

#10000=@"/others.js;sourcefile"
files(#10000,"/others.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,"with(a) {","
")
#20003=@"loc,{#10000},1,1,1,9"
locations_default(#20003,#10000,1,1,1,9)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001,"}","
")
#20005=@"loc,{#10000},2,1,2,1"
locations_default(#20005,#10000,2,1,2,1)
hasLocation(#20004,#20005)
#20006=*
lines(#20006,#20001,"debugger;","
")
#20007=@"loc,{#10000},3,1,3,9"
locations_default(#20007,#10000,3,1,3,9)
hasLocation(#20006,#20007)
#20008=*
lines(#20008,#20001,"var x = 23, y;","")
#20009=@"loc,{#10000},4,1,4,14"
locations_default(#20009,#10000,4,1,4,14)
hasLocation(#20008,#20009)
numlines(#20001,4,4,0)
#20010=*
tokeninfo(#20010,7,#20001,0,"with")
#20011=@"loc,{#10000},1,1,1,4"
locations_default(#20011,#10000,1,1,1,4)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,8,#20001,1,"(")
#20013=@"loc,{#10000},1,5,1,5"
locations_default(#20013,#10000,1,5,1,5)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,6,#20001,2,"a")
#20015=@"loc,{#10000},1,6,1,6"
locations_default(#20015,#10000,1,6,1,6)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,3,")")
#20017=@"loc,{#10000},1,7,1,7"
locations_default(#20017,#10000,1,7,1,7)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,4,"{")
#20019=@"loc,{#10000},1,9,1,9"
locations_default(#20019,#10000,1,9,1,9)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,5,"}")
hasLocation(#20020,#20005)
#20021=*
tokeninfo(#20021,7,#20001,6,"debugger")
#20022=@"loc,{#10000},3,1,3,8"
locations_default(#20022,#10000,3,1,3,8)
hasLocation(#20021,#20022)
#20023=*
tokeninfo(#20023,8,#20001,7,";")
#20024=@"loc,{#10000},3,9,3,9"
locations_default(#20024,#10000,3,9,3,9)
hasLocation(#20023,#20024)
#20025=*
tokeninfo(#20025,7,#20001,8,"var")
#20026=@"loc,{#10000},4,1,4,3"
locations_default(#20026,#10000,4,1,4,3)
hasLocation(#20025,#20026)
#20027=*
tokeninfo(#20027,6,#20001,9,"x")
#20028=@"loc,{#10000},4,5,4,5"
locations_default(#20028,#10000,4,5,4,5)
hasLocation(#20027,#20028)
#20029=*
tokeninfo(#20029,8,#20001,10,"=")
#20030=@"loc,{#10000},4,7,4,7"
locations_default(#20030,#10000,4,7,4,7)
hasLocation(#20029,#20030)
#20031=*
tokeninfo(#20031,3,#20001,11,"23")
#20032=@"loc,{#10000},4,9,4,10"
locations_default(#20032,#10000,4,9,4,10)
hasLocation(#20031,#20032)
#20033=*
tokeninfo(#20033,8,#20001,12,",")
#20034=@"loc,{#10000},4,11,4,11"
locations_default(#20034,#10000,4,11,4,11)
hasLocation(#20033,#20034)
#20035=*
tokeninfo(#20035,6,#20001,13,"y")
#20036=@"loc,{#10000},4,13,4,13"
locations_default(#20036,#10000,4,13,4,13)
hasLocation(#20035,#20036)
#20037=*
tokeninfo(#20037,8,#20001,14,";")
#20038=@"loc,{#10000},4,14,4,14"
locations_default(#20038,#10000,4,14,4,14)
hasLocation(#20037,#20038)
#20039=*
tokeninfo(#20039,0,#20001,15,"")
#20040=@"loc,{#10000},4,15,4,14"
locations_default(#20040,#10000,4,15,4,14)
hasLocation(#20039,#20040)
toplevels(#20001,0)
#20041=@"loc,{#10000},1,1,4,14"
locations_default(#20041,#10000,1,1,4,14)
hasLocation(#20001,#20041)
#20042=@"var;{x};{#20000}"
variables(#20042,"x",#20000)
#20043=@"var;{y};{#20000}"
variables(#20043,"y",#20000)
#20044=@"var;{this};{#20000}"
variables(#20044,"this",#20000)
#20045=*
stmts(#20045,7,#20001,0,"with(a) {\n}")
#20046=@"loc,{#10000},1,1,2,1"
locations_default(#20046,#10000,1,1,2,1)
hasLocation(#20045,#20046)
stmt_containers(#20045,#20001)
#20047=*
exprs(#20047,79,#20045,0,"a")
hasLocation(#20047,#20015)
enclosing_stmt(#20047,#20045)
expr_containers(#20047,#20001)
literals("a","a",#20047)
#20048=@"var;{a};{#20000}"
variables(#20048,"a",#20000)
bind(#20047,#20048)
#20049=*
stmts(#20049,1,#20045,1,"{\n}")
#20050=@"loc,{#10000},1,9,2,1"
locations_default(#20050,#10000,1,9,2,1)
hasLocation(#20049,#20050)
stmt_containers(#20049,#20001)
#20051=*
stmts(#20051,16,#20001,1,"debugger;")
hasLocation(#20051,#20007)
stmt_containers(#20051,#20001)
#20052=*
stmts(#20052,18,#20001,2,"var x = 23, y;")
hasLocation(#20052,#20009)
stmt_containers(#20052,#20001)
#20053=*
exprs(#20053,64,#20052,0,"x = 23")
#20054=@"loc,{#10000},4,5,4,10"
locations_default(#20054,#10000,4,5,4,10)
hasLocation(#20053,#20054)
enclosing_stmt(#20053,#20052)
expr_containers(#20053,#20001)
#20055=*
exprs(#20055,78,#20053,0,"x")
hasLocation(#20055,#20028)
enclosing_stmt(#20055,#20052)
expr_containers(#20055,#20001)
literals("x","x",#20055)
decl(#20055,#20042)
#20056=*
exprs(#20056,3,#20053,1,"23")
hasLocation(#20056,#20032)
enclosing_stmt(#20056,#20052)
expr_containers(#20056,#20001)
literals("23","23",#20056)
#20057=*
exprs(#20057,64,#20052,1,"y")
hasLocation(#20057,#20036)
enclosing_stmt(#20057,#20052)
expr_containers(#20057,#20001)
#20058=*
exprs(#20058,78,#20057,0,"y")
hasLocation(#20058,#20036)
enclosing_stmt(#20058,#20052)
expr_containers(#20058,#20001)
literals("y","y",#20058)
decl(#20058,#20043)
#20059=*
entry_cfg_node(#20059,#20001)
#20060=@"loc,{#10000},1,1,1,0"
locations_default(#20060,#10000,1,1,1,0)
hasLocation(#20059,#20060)
#20061=*
exit_cfg_node(#20061,#20001)
hasLocation(#20061,#20040)
successor(#20052,#20055)
successor(#20058,#20057)
successor(#20057,#20061)
successor(#20056,#20053)
successor(#20055,#20056)
successor(#20053,#20058)
successor(#20051,#20052)
successor(#20045,#20047)
successor(#20049,#20051)
successor(#20047,#20049)
successor(#20059,#20045)
numlines(#10000,4,4,0)
filetype(#10000,"javascript")