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

204 lines
5.4 KiB
Plaintext

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