mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
JS: Update TRAP files
This commit is contained in:
@@ -163,164 +163,172 @@ variables(#20057,"C",#20055)
|
||||
variables(#20058,"f",#20055)
|
||||
#20059=@"local_type_name;{C};{#20055}"
|
||||
local_type_names(#20059,"C",#20055)
|
||||
#20060=*
|
||||
stmts(#20060,30,#20001,0,"export ... o = 42;")
|
||||
hasLocation(#20060,#20003)
|
||||
stmt_containers(#20060,#20001)
|
||||
#20060=@"var;{this};{#20055}"
|
||||
variables(#20060,"this",#20055)
|
||||
#20061=*
|
||||
stmts(#20061,22,#20060,-1,"const foo = 42;")
|
||||
#20062=@"loc,{#10000},1,8,1,22"
|
||||
locations_default(#20062,#10000,1,8,1,22)
|
||||
hasLocation(#20061,#20062)
|
||||
stmts(#20061,30,#20001,0,"export ... o = 42;")
|
||||
hasLocation(#20061,#20003)
|
||||
stmt_containers(#20061,#20001)
|
||||
#20063=*
|
||||
exprs(#20063,64,#20061,0,"foo = 42")
|
||||
#20064=@"loc,{#10000},1,14,1,21"
|
||||
locations_default(#20064,#10000,1,14,1,21)
|
||||
hasLocation(#20063,#20064)
|
||||
enclosing_stmt(#20063,#20061)
|
||||
expr_containers(#20063,#20001)
|
||||
#20065=*
|
||||
exprs(#20065,78,#20063,0,"foo")
|
||||
hasLocation(#20065,#20017)
|
||||
enclosing_stmt(#20065,#20061)
|
||||
expr_containers(#20065,#20001)
|
||||
literals("foo","foo",#20065)
|
||||
decl(#20065,#20056)
|
||||
#20062=*
|
||||
stmts(#20062,22,#20061,-1,"const foo = 42;")
|
||||
#20063=@"loc,{#10000},1,8,1,22"
|
||||
locations_default(#20063,#10000,1,8,1,22)
|
||||
hasLocation(#20062,#20063)
|
||||
stmt_containers(#20062,#20001)
|
||||
#20064=*
|
||||
exprs(#20064,64,#20062,0,"foo = 42")
|
||||
#20065=@"loc,{#10000},1,14,1,21"
|
||||
locations_default(#20065,#10000,1,14,1,21)
|
||||
hasLocation(#20064,#20065)
|
||||
enclosing_stmt(#20064,#20062)
|
||||
expr_containers(#20064,#20001)
|
||||
#20066=*
|
||||
exprs(#20066,3,#20063,1,"42")
|
||||
hasLocation(#20066,#20021)
|
||||
enclosing_stmt(#20066,#20061)
|
||||
exprs(#20066,78,#20064,0,"foo")
|
||||
hasLocation(#20066,#20017)
|
||||
enclosing_stmt(#20066,#20062)
|
||||
expr_containers(#20066,#20001)
|
||||
literals("42","42",#20066)
|
||||
literals("foo","foo",#20066)
|
||||
decl(#20066,#20056)
|
||||
#20067=*
|
||||
stmts(#20067,30,#20001,1,"export class C {}")
|
||||
hasLocation(#20067,#20007)
|
||||
stmt_containers(#20067,#20001)
|
||||
exprs(#20067,3,#20064,1,"42")
|
||||
hasLocation(#20067,#20021)
|
||||
enclosing_stmt(#20067,#20062)
|
||||
expr_containers(#20067,#20001)
|
||||
literals("42","42",#20067)
|
||||
#20068=*
|
||||
stmts(#20068,26,#20067,-1,"class C {}")
|
||||
#20069=@"loc,{#10000},3,8,3,17"
|
||||
locations_default(#20069,#10000,3,8,3,17)
|
||||
hasLocation(#20068,#20069)
|
||||
stmts(#20068,30,#20001,1,"export class C {}")
|
||||
hasLocation(#20068,#20007)
|
||||
stmt_containers(#20068,#20001)
|
||||
#20070=*
|
||||
exprs(#20070,78,#20068,0,"C")
|
||||
hasLocation(#20070,#20029)
|
||||
enclosing_stmt(#20070,#20068)
|
||||
expr_containers(#20070,#20001)
|
||||
literals("C","C",#20070)
|
||||
decl(#20070,#20057)
|
||||
typedecl(#20070,#20059)
|
||||
#20069=*
|
||||
stmts(#20069,26,#20068,-1,"class C {}")
|
||||
#20070=@"loc,{#10000},3,8,3,17"
|
||||
locations_default(#20070,#10000,3,8,3,17)
|
||||
hasLocation(#20069,#20070)
|
||||
stmt_containers(#20069,#20001)
|
||||
#20071=*
|
||||
scopes(#20071,10)
|
||||
scopenodes(#20068,#20071)
|
||||
scopenesting(#20071,#20055)
|
||||
exprs(#20071,78,#20069,0,"C")
|
||||
hasLocation(#20071,#20029)
|
||||
enclosing_stmt(#20071,#20069)
|
||||
expr_containers(#20071,#20001)
|
||||
literals("C","C",#20071)
|
||||
decl(#20071,#20057)
|
||||
typedecl(#20071,#20059)
|
||||
#20072=*
|
||||
properties(#20072,#20068,2,0,"constructor() {}")
|
||||
#20073=@"loc,{#10000},3,16,3,15"
|
||||
locations_default(#20073,#10000,3,16,3,15)
|
||||
hasLocation(#20072,#20073)
|
||||
scopes(#20072,10)
|
||||
scopenodes(#20069,#20072)
|
||||
scopenesting(#20072,#20055)
|
||||
#20073=@"var;{this};{#20072}"
|
||||
variables(#20073,"this",#20072)
|
||||
#20074=*
|
||||
exprs(#20074,0,#20072,0,"constructor")
|
||||
hasLocation(#20074,#20073)
|
||||
enclosing_stmt(#20074,#20068)
|
||||
expr_containers(#20074,#20001)
|
||||
literals("constructor","constructor",#20074)
|
||||
#20075=*
|
||||
exprs(#20075,9,#20072,1,"() {}")
|
||||
hasLocation(#20075,#20073)
|
||||
enclosing_stmt(#20075,#20068)
|
||||
expr_containers(#20075,#20001)
|
||||
properties(#20074,#20069,2,0,"constructor() {}")
|
||||
#20075=@"loc,{#10000},3,16,3,15"
|
||||
locations_default(#20075,#10000,3,16,3,15)
|
||||
hasLocation(#20074,#20075)
|
||||
#20076=*
|
||||
scopes(#20076,1)
|
||||
scopenodes(#20075,#20076)
|
||||
scopenesting(#20076,#20071)
|
||||
#20077=@"var;{arguments};{#20076}"
|
||||
variables(#20077,"arguments",#20076)
|
||||
is_arguments_object(#20077)
|
||||
exprs(#20076,0,#20074,0,"constructor")
|
||||
hasLocation(#20076,#20075)
|
||||
enclosing_stmt(#20076,#20069)
|
||||
expr_containers(#20076,#20001)
|
||||
literals("constructor","constructor",#20076)
|
||||
#20077=*
|
||||
exprs(#20077,9,#20074,1,"() {}")
|
||||
hasLocation(#20077,#20075)
|
||||
enclosing_stmt(#20077,#20069)
|
||||
expr_containers(#20077,#20001)
|
||||
#20078=*
|
||||
stmts(#20078,1,#20075,-2,"{}")
|
||||
hasLocation(#20078,#20073)
|
||||
stmt_containers(#20078,#20075)
|
||||
is_method(#20072)
|
||||
#20079=*
|
||||
stmts(#20079,29,#20001,2,"export ... f() {}")
|
||||
#20080=@"loc,{#10000},5,1,5,30"
|
||||
locations_default(#20080,#10000,5,1,5,30)
|
||||
hasLocation(#20079,#20080)
|
||||
stmt_containers(#20079,#20001)
|
||||
scopes(#20078,1)
|
||||
scopenodes(#20077,#20078)
|
||||
scopenesting(#20078,#20072)
|
||||
#20079=@"var;{this};{#20078}"
|
||||
variables(#20079,"this",#20078)
|
||||
#20080=@"var;{arguments};{#20078}"
|
||||
variables(#20080,"arguments",#20078)
|
||||
is_arguments_object(#20080)
|
||||
#20081=*
|
||||
stmts(#20081,17,#20079,0,"function f() {}")
|
||||
#20082=@"loc,{#10000},5,16,5,30"
|
||||
locations_default(#20082,#10000,5,16,5,30)
|
||||
hasLocation(#20081,#20082)
|
||||
stmt_containers(#20081,#20001)
|
||||
#20083=*
|
||||
exprs(#20083,78,#20081,-1,"f")
|
||||
hasLocation(#20083,#20041)
|
||||
expr_containers(#20083,#20081)
|
||||
literals("f","f",#20083)
|
||||
decl(#20083,#20058)
|
||||
stmts(#20081,1,#20077,-2,"{}")
|
||||
hasLocation(#20081,#20075)
|
||||
stmt_containers(#20081,#20077)
|
||||
is_method(#20074)
|
||||
#20082=*
|
||||
stmts(#20082,29,#20001,2,"export ... f() {}")
|
||||
#20083=@"loc,{#10000},5,1,5,30"
|
||||
locations_default(#20083,#10000,5,1,5,30)
|
||||
hasLocation(#20082,#20083)
|
||||
stmt_containers(#20082,#20001)
|
||||
#20084=*
|
||||
scopes(#20084,1)
|
||||
scopenodes(#20081,#20084)
|
||||
scopenesting(#20084,#20055)
|
||||
#20085=@"var;{arguments};{#20084}"
|
||||
variables(#20085,"arguments",#20084)
|
||||
is_arguments_object(#20085)
|
||||
stmts(#20084,17,#20082,0,"function f() {}")
|
||||
#20085=@"loc,{#10000},5,16,5,30"
|
||||
locations_default(#20085,#10000,5,16,5,30)
|
||||
hasLocation(#20084,#20085)
|
||||
stmt_containers(#20084,#20001)
|
||||
#20086=*
|
||||
stmts(#20086,1,#20081,-2,"{}")
|
||||
#20087=@"loc,{#10000},5,29,5,30"
|
||||
locations_default(#20087,#10000,5,29,5,30)
|
||||
hasLocation(#20086,#20087)
|
||||
stmt_containers(#20086,#20081)
|
||||
#20088=*
|
||||
stmts(#20088,0,#20001,3,";")
|
||||
hasLocation(#20088,#20051)
|
||||
stmt_containers(#20088,#20001)
|
||||
#20089=*
|
||||
entry_cfg_node(#20089,#20001)
|
||||
#20090=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20090,#10000,1,1,1,0)
|
||||
hasLocation(#20089,#20090)
|
||||
#20091=*
|
||||
exit_cfg_node(#20091,#20001)
|
||||
hasLocation(#20091,#20053)
|
||||
successor(#20088,#20091)
|
||||
successor(#20079,#20081)
|
||||
successor(#20081,#20088)
|
||||
exprs(#20086,78,#20084,-1,"f")
|
||||
hasLocation(#20086,#20041)
|
||||
expr_containers(#20086,#20084)
|
||||
literals("f","f",#20086)
|
||||
decl(#20086,#20058)
|
||||
#20087=*
|
||||
scopes(#20087,1)
|
||||
scopenodes(#20084,#20087)
|
||||
scopenesting(#20087,#20055)
|
||||
#20088=@"var;{this};{#20087}"
|
||||
variables(#20088,"this",#20087)
|
||||
#20089=@"var;{arguments};{#20087}"
|
||||
variables(#20089,"arguments",#20087)
|
||||
is_arguments_object(#20089)
|
||||
#20090=*
|
||||
stmts(#20090,1,#20084,-2,"{}")
|
||||
#20091=@"loc,{#10000},5,29,5,30"
|
||||
locations_default(#20091,#10000,5,29,5,30)
|
||||
hasLocation(#20090,#20091)
|
||||
stmt_containers(#20090,#20084)
|
||||
#20092=*
|
||||
entry_cfg_node(#20092,#20081)
|
||||
#20093=@"loc,{#10000},5,16,5,15"
|
||||
locations_default(#20093,#10000,5,16,5,15)
|
||||
hasLocation(#20092,#20093)
|
||||
#20094=*
|
||||
exit_cfg_node(#20094,#20081)
|
||||
#20095=@"loc,{#10000},5,31,5,30"
|
||||
locations_default(#20095,#10000,5,31,5,30)
|
||||
hasLocation(#20094,#20095)
|
||||
successor(#20086,#20094)
|
||||
successor(#20092,#20086)
|
||||
successor(#20067,#20070)
|
||||
successor(#20075,#20072)
|
||||
stmts(#20092,0,#20001,3,";")
|
||||
hasLocation(#20092,#20051)
|
||||
stmt_containers(#20092,#20001)
|
||||
#20093=*
|
||||
entry_cfg_node(#20093,#20001)
|
||||
#20094=@"loc,{#10000},1,1,1,0"
|
||||
locations_default(#20094,#10000,1,1,1,0)
|
||||
hasLocation(#20093,#20094)
|
||||
#20095=*
|
||||
exit_cfg_node(#20095,#20001)
|
||||
hasLocation(#20095,#20053)
|
||||
successor(#20092,#20095)
|
||||
successor(#20082,#20084)
|
||||
successor(#20084,#20092)
|
||||
#20096=*
|
||||
entry_cfg_node(#20096,#20075)
|
||||
hasLocation(#20096,#20073)
|
||||
#20097=*
|
||||
exit_cfg_node(#20097,#20075)
|
||||
hasLocation(#20097,#20073)
|
||||
successor(#20078,#20097)
|
||||
successor(#20096,#20078)
|
||||
successor(#20074,#20075)
|
||||
successor(#20072,#20068)
|
||||
successor(#20070,#20074)
|
||||
successor(#20068,#20079)
|
||||
successor(#20060,#20061)
|
||||
successor(#20061,#20065)
|
||||
successor(#20066,#20063)
|
||||
successor(#20065,#20066)
|
||||
successor(#20063,#20067)
|
||||
successor(#20083,#20060)
|
||||
successor(#20089,#20083)
|
||||
entry_cfg_node(#20096,#20084)
|
||||
#20097=@"loc,{#10000},5,16,5,15"
|
||||
locations_default(#20097,#10000,5,16,5,15)
|
||||
hasLocation(#20096,#20097)
|
||||
#20098=*
|
||||
exit_cfg_node(#20098,#20084)
|
||||
#20099=@"loc,{#10000},5,31,5,30"
|
||||
locations_default(#20099,#10000,5,31,5,30)
|
||||
hasLocation(#20098,#20099)
|
||||
successor(#20090,#20098)
|
||||
successor(#20096,#20090)
|
||||
successor(#20068,#20071)
|
||||
successor(#20077,#20074)
|
||||
#20100=*
|
||||
entry_cfg_node(#20100,#20077)
|
||||
hasLocation(#20100,#20075)
|
||||
#20101=*
|
||||
exit_cfg_node(#20101,#20077)
|
||||
hasLocation(#20101,#20075)
|
||||
successor(#20081,#20101)
|
||||
successor(#20100,#20081)
|
||||
successor(#20076,#20077)
|
||||
successor(#20074,#20069)
|
||||
successor(#20071,#20076)
|
||||
successor(#20069,#20082)
|
||||
successor(#20061,#20062)
|
||||
successor(#20062,#20066)
|
||||
successor(#20067,#20064)
|
||||
successor(#20066,#20067)
|
||||
successor(#20064,#20068)
|
||||
successor(#20086,#20061)
|
||||
successor(#20093,#20086)
|
||||
numlines(#10000,5,3,0)
|
||||
filetype(#10000,"typescript")
|
||||
|
||||
Reference in New Issue
Block a user