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

205 lines
5.6 KiB
Plaintext

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