Files
codeql/javascript/extractor/tests/es2015/output/trap/new_target.js.trap
2018-11-07 07:48:25 +00:00

181 lines
4.9 KiB
Plaintext

#10000=@"/new_target.js;sourcefile"
files(#10000,"/new_target.js","new_target","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"
toplevels(#20001,0)
#20002=@"loc,{#10000},1,1,3,1"
locations_default(#20002,#10000,1,1,3,1)
hasLocation(#20001,#20002)
#20003=@"var;{f};{#20000}"
variables(#20003,"f",#20000)
#20004=*
stmts(#20004,17,#20001,0,"functio ... rget;\n}")
hasLocation(#20004,#20002)
stmtContainers(#20004,#20001)
#20005=*
exprs(#20005,78,#20004,-1,"f")
#20006=@"loc,{#10000},1,10,1,10"
locations_default(#20006,#10000,1,10,1,10)
hasLocation(#20005,#20006)
exprContainers(#20005,#20004)
literals("f","f",#20005)
decl(#20005,#20003)
#20007=*
scopes(#20007,1)
scopenodes(#20004,#20007)
scopenesting(#20007,#20000)
#20008=@"var;{arguments};{#20007}"
variables(#20008,"arguments",#20007)
isArgumentsObject(#20008)
#20009=*
stmts(#20009,1,#20004,-2,"{\n ret ... rget;\n}")
#20010=@"loc,{#10000},1,14,3,1"
locations_default(#20010,#10000,1,14,3,1)
hasLocation(#20009,#20010)
stmtContainers(#20009,#20004)
#20011=*
stmts(#20011,9,#20009,0,"return !!new.target;")
#20012=@"loc,{#10000},2,3,2,22"
locations_default(#20012,#10000,2,3,2,22)
hasLocation(#20011,#20012)
stmtContainers(#20011,#20004)
#20013=*
exprs(#20013,18,#20011,0,"!!new.target")
#20014=@"loc,{#10000},2,10,2,21"
locations_default(#20014,#10000,2,10,2,21)
hasLocation(#20013,#20014)
enclosingStmt(#20013,#20011)
exprContainers(#20013,#20004)
#20015=*
exprs(#20015,18,#20013,0,"!new.target")
#20016=@"loc,{#10000},2,11,2,21"
locations_default(#20016,#10000,2,11,2,21)
hasLocation(#20015,#20016)
enclosingStmt(#20015,#20011)
exprContainers(#20015,#20004)
#20017=*
exprs(#20017,82,#20015,0,"new.target")
#20018=@"loc,{#10000},2,12,2,21"
locations_default(#20018,#10000,2,12,2,21)
hasLocation(#20017,#20018)
enclosingStmt(#20017,#20011)
exprContainers(#20017,#20004)
numlines(#20004,3,3,0)
#20019=*
lines(#20019,#20001,"function f() {","
")
#20020=@"loc,{#10000},1,1,1,14"
locations_default(#20020,#10000,1,1,1,14)
hasLocation(#20019,#20020)
#20021=*
lines(#20021,#20001," return !!new.target;","
")
#20022=@"loc,{#10000},2,1,2,22"
locations_default(#20022,#10000,2,1,2,22)
hasLocation(#20021,#20022)
indentation(#10000,2," ",2)
#20023=*
lines(#20023,#20001,"}","")
#20024=@"loc,{#10000},3,1,3,1"
locations_default(#20024,#10000,3,1,3,1)
hasLocation(#20023,#20024)
numlines(#20001,3,3,0)
#20025=*
tokeninfo(#20025,7,#20001,0,"function")
#20026=@"loc,{#10000},1,1,1,8"
locations_default(#20026,#10000,1,1,1,8)
hasLocation(#20025,#20026)
#20027=*
tokeninfo(#20027,6,#20001,1,"f")
hasLocation(#20027,#20006)
#20028=*
tokeninfo(#20028,8,#20001,2,"(")
#20029=@"loc,{#10000},1,11,1,11"
locations_default(#20029,#10000,1,11,1,11)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,8,#20001,3,")")
#20031=@"loc,{#10000},1,12,1,12"
locations_default(#20031,#10000,1,12,1,12)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,8,#20001,4,"{")
#20033=@"loc,{#10000},1,14,1,14"
locations_default(#20033,#10000,1,14,1,14)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,7,#20001,5,"return")
#20035=@"loc,{#10000},2,3,2,8"
locations_default(#20035,#10000,2,3,2,8)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,8,#20001,6,"!")
#20037=@"loc,{#10000},2,10,2,10"
locations_default(#20037,#10000,2,10,2,10)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,8,#20001,7,"!")
#20039=@"loc,{#10000},2,11,2,11"
locations_default(#20039,#10000,2,11,2,11)
hasLocation(#20038,#20039)
#20040=*
tokeninfo(#20040,7,#20001,8,"new")
#20041=@"loc,{#10000},2,12,2,14"
locations_default(#20041,#10000,2,12,2,14)
hasLocation(#20040,#20041)
#20042=*
tokeninfo(#20042,8,#20001,9,".")
#20043=@"loc,{#10000},2,15,2,15"
locations_default(#20043,#10000,2,15,2,15)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,6,#20001,10,"target")
#20045=@"loc,{#10000},2,16,2,21"
locations_default(#20045,#10000,2,16,2,21)
hasLocation(#20044,#20045)
#20046=*
tokeninfo(#20046,8,#20001,11,";")
#20047=@"loc,{#10000},2,22,2,22"
locations_default(#20047,#10000,2,22,2,22)
hasLocation(#20046,#20047)
#20048=*
tokeninfo(#20048,8,#20001,12,"}")
hasLocation(#20048,#20024)
#20049=*
tokeninfo(#20049,0,#20001,13,"")
#20050=@"loc,{#10000},3,2,3,1"
locations_default(#20050,#10000,3,2,3,1)
hasLocation(#20049,#20050)
#20051=*
entry_cfg_node(#20051,#20001)
#20052=@"loc,{#10000},1,1,1,0"
locations_default(#20052,#10000,1,1,1,0)
hasLocation(#20051,#20052)
#20053=*
exit_cfg_node(#20053,#20001)
hasLocation(#20053,#20050)
successor(#20004,#20053)
#20054=*
entry_cfg_node(#20054,#20004)
hasLocation(#20054,#20052)
#20055=*
exit_cfg_node(#20055,#20004)
hasLocation(#20055,#20050)
successor(#20009,#20017)
successor(#20017,#20015)
successor(#20015,#20013)
successor(#20013,#20011)
successor(#20011,#20055)
successor(#20054,#20009)
successor(#20005,#20004)
successor(#20051,#20005)
numlines(#10000,3,3,0)
filetype(#10000,"javascript")