mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
230 lines
6.2 KiB
Plaintext
230 lines
6.2 KiB
Plaintext
#10000=@"/new-with-trailing-arg.js;sourcefile"
|
|
files(#10000,"/new-with-trailing-arg.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=*
|
|
comments(#20002,0,#20001," `new` with initializer","// `new ... ializer")
|
|
#20003=@"loc,{#10000},1,1,1,25"
|
|
locations_default(#20003,#10000,1,1,1,25)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
comments(#20004,0,#20001," `new` followed by an empty block","// `new ... y block")
|
|
#20005=@"loc,{#10000},4,1,4,35"
|
|
locations_default(#20005,#10000,4,1,4,35)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"// `new` with initializer","
|
|
")
|
|
hasLocation(#20006,#20003)
|
|
#20007=*
|
|
lines(#20007,#20001,"new A() { foo: ""bar"" }","
|
|
")
|
|
#20008=@"loc,{#10000},2,1,2,22"
|
|
locations_default(#20008,#10000,2,1,2,22)
|
|
hasLocation(#20007,#20008)
|
|
#20009=*
|
|
lines(#20009,#20001,"","
|
|
")
|
|
#20010=@"loc,{#10000},3,1,3,0"
|
|
locations_default(#20010,#10000,3,1,3,0)
|
|
hasLocation(#20009,#20010)
|
|
#20011=*
|
|
lines(#20011,#20001,"// `new` followed by an empty block","
|
|
")
|
|
hasLocation(#20011,#20005)
|
|
#20012=*
|
|
lines(#20012,#20001,"new A()","
|
|
")
|
|
#20013=@"loc,{#10000},5,1,5,7"
|
|
locations_default(#20013,#10000,5,1,5,7)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
lines(#20014,#20001,"{}","")
|
|
#20015=@"loc,{#10000},6,1,6,2"
|
|
locations_default(#20015,#10000,6,1,6,2)
|
|
hasLocation(#20014,#20015)
|
|
numlines(#20001,6,3,2)
|
|
#20016=*
|
|
tokeninfo(#20016,7,#20001,0,"new")
|
|
#20017=@"loc,{#10000},2,1,2,3"
|
|
locations_default(#20017,#10000,2,1,2,3)
|
|
hasLocation(#20016,#20017)
|
|
next_token(#20002,#20016)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,1,"A")
|
|
#20019=@"loc,{#10000},2,5,2,5"
|
|
locations_default(#20019,#10000,2,5,2,5)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,2,"(")
|
|
#20021=@"loc,{#10000},2,6,2,6"
|
|
locations_default(#20021,#10000,2,6,2,6)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,3,")")
|
|
#20023=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20023,#10000,2,7,2,7)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,4,"{")
|
|
#20025=@"loc,{#10000},2,9,2,9"
|
|
locations_default(#20025,#10000,2,9,2,9)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,5,"foo")
|
|
#20027=@"loc,{#10000},2,11,2,13"
|
|
locations_default(#20027,#10000,2,11,2,13)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,6,":")
|
|
#20029=@"loc,{#10000},2,14,2,14"
|
|
locations_default(#20029,#10000,2,14,2,14)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,4,#20001,7,"""bar""")
|
|
#20031=@"loc,{#10000},2,16,2,20"
|
|
locations_default(#20031,#10000,2,16,2,20)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,8,"}")
|
|
#20033=@"loc,{#10000},2,22,2,22"
|
|
locations_default(#20033,#10000,2,22,2,22)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,7,#20001,9,"new")
|
|
#20035=@"loc,{#10000},5,1,5,3"
|
|
locations_default(#20035,#10000,5,1,5,3)
|
|
hasLocation(#20034,#20035)
|
|
next_token(#20004,#20034)
|
|
#20036=*
|
|
tokeninfo(#20036,6,#20001,10,"A")
|
|
#20037=@"loc,{#10000},5,5,5,5"
|
|
locations_default(#20037,#10000,5,5,5,5)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,11,"(")
|
|
#20039=@"loc,{#10000},5,6,5,6"
|
|
locations_default(#20039,#10000,5,6,5,6)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,12,")")
|
|
#20041=@"loc,{#10000},5,7,5,7"
|
|
locations_default(#20041,#10000,5,7,5,7)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,8,#20001,13,"{")
|
|
#20043=@"loc,{#10000},6,1,6,1"
|
|
locations_default(#20043,#10000,6,1,6,1)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,14,"}")
|
|
#20045=@"loc,{#10000},6,2,6,2"
|
|
locations_default(#20045,#10000,6,2,6,2)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,0,#20001,15,"")
|
|
#20047=@"loc,{#10000},6,3,6,2"
|
|
locations_default(#20047,#10000,6,3,6,2)
|
|
hasLocation(#20046,#20047)
|
|
toplevels(#20001,0)
|
|
#20048=@"loc,{#10000},1,1,6,2"
|
|
locations_default(#20048,#10000,1,1,6,2)
|
|
hasLocation(#20001,#20048)
|
|
#20049=*
|
|
stmts(#20049,2,#20001,0,"new A() ... ""bar"" }")
|
|
hasLocation(#20049,#20008)
|
|
stmt_containers(#20049,#20001)
|
|
#20050=*
|
|
exprs(#20050,12,#20049,0,"new A() ... ""bar"" }")
|
|
hasLocation(#20050,#20008)
|
|
enclosing_stmt(#20050,#20049)
|
|
expr_containers(#20050,#20001)
|
|
#20051=*
|
|
exprs(#20051,79,#20050,-1,"A")
|
|
hasLocation(#20051,#20019)
|
|
enclosing_stmt(#20051,#20049)
|
|
expr_containers(#20051,#20001)
|
|
literals("A","A",#20051)
|
|
#20052=@"var;{A};{#20000}"
|
|
variables(#20052,"A",#20000)
|
|
bind(#20051,#20052)
|
|
#20053=*
|
|
exprs(#20053,8,#20050,0,"{ foo: ""bar"" }")
|
|
#20054=@"loc,{#10000},2,9,2,22"
|
|
locations_default(#20054,#10000,2,9,2,22)
|
|
hasLocation(#20053,#20054)
|
|
enclosing_stmt(#20053,#20049)
|
|
expr_containers(#20053,#20001)
|
|
#20055=*
|
|
properties(#20055,#20053,0,0,"foo: ""bar""")
|
|
#20056=@"loc,{#10000},2,11,2,20"
|
|
locations_default(#20056,#10000,2,11,2,20)
|
|
hasLocation(#20055,#20056)
|
|
#20057=*
|
|
exprs(#20057,0,#20055,0,"foo")
|
|
hasLocation(#20057,#20027)
|
|
enclosing_stmt(#20057,#20049)
|
|
expr_containers(#20057,#20001)
|
|
literals("foo","foo",#20057)
|
|
#20058=*
|
|
exprs(#20058,4,#20055,1,"""bar""")
|
|
hasLocation(#20058,#20031)
|
|
enclosing_stmt(#20058,#20049)
|
|
expr_containers(#20058,#20001)
|
|
literals("bar","""bar""",#20058)
|
|
#20059=*
|
|
regexpterm(#20059,14,#20058,0,"bar")
|
|
#20060=@"loc,{#10000},2,17,2,19"
|
|
locations_default(#20060,#10000,2,17,2,19)
|
|
hasLocation(#20059,#20060)
|
|
regexp_const_value(#20059,"bar")
|
|
#20061=*
|
|
stmts(#20061,2,#20001,1,"new A()")
|
|
hasLocation(#20061,#20013)
|
|
stmt_containers(#20061,#20001)
|
|
#20062=*
|
|
exprs(#20062,12,#20061,0,"new A()")
|
|
hasLocation(#20062,#20013)
|
|
enclosing_stmt(#20062,#20061)
|
|
expr_containers(#20062,#20001)
|
|
#20063=*
|
|
exprs(#20063,79,#20062,-1,"A")
|
|
hasLocation(#20063,#20037)
|
|
enclosing_stmt(#20063,#20061)
|
|
expr_containers(#20063,#20001)
|
|
literals("A","A",#20063)
|
|
bind(#20063,#20052)
|
|
#20064=*
|
|
stmts(#20064,1,#20001,2,"{}")
|
|
hasLocation(#20064,#20015)
|
|
stmt_containers(#20064,#20001)
|
|
#20065=*
|
|
entry_cfg_node(#20065,#20001)
|
|
#20066=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20066,#10000,1,1,1,0)
|
|
hasLocation(#20065,#20066)
|
|
#20067=*
|
|
exit_cfg_node(#20067,#20001)
|
|
hasLocation(#20067,#20047)
|
|
successor(#20064,#20067)
|
|
successor(#20061,#20063)
|
|
successor(#20063,#20062)
|
|
successor(#20062,#20064)
|
|
successor(#20049,#20051)
|
|
successor(#20053,#20057)
|
|
successor(#20058,#20055)
|
|
successor(#20057,#20058)
|
|
successor(#20055,#20050)
|
|
successor(#20051,#20053)
|
|
successor(#20050,#20061)
|
|
successor(#20065,#20049)
|
|
numlines(#10000,6,3,2)
|
|
filetype(#10000,"javascript")
|