mirror of
https://github.com/github/codeql.git
synced 2025-12-27 14:16:34 +01:00
327 lines
8.8 KiB
Plaintext
327 lines
8.8 KiB
Plaintext
#10000=@"/export.ts;sourcefile"
|
|
files(#10000,"/export.ts")
|
|
#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,"export const foo = 42;","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,22"
|
|
locations_default(#20003,#10000,1,1,1,22)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20005,#10000,2,1,2,0)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"export class C {}","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,17"
|
|
locations_default(#20007,#10000,3,1,3,17)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001,"","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,0"
|
|
locations_default(#20009,#10000,4,1,4,0)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
lines(#20010,#20001,"export default function f() {};","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,31"
|
|
locations_default(#20011,#10000,5,1,5,31)
|
|
hasLocation(#20010,#20011)
|
|
numlines(#20001,5,3,0)
|
|
#20012=*
|
|
tokeninfo(#20012,7,#20001,0,"export")
|
|
#20013=@"loc,{#10000},1,1,1,6"
|
|
locations_default(#20013,#10000,1,1,1,6)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,7,#20001,1,"const")
|
|
#20015=@"loc,{#10000},1,8,1,12"
|
|
locations_default(#20015,#10000,1,8,1,12)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,6,#20001,2,"foo")
|
|
#20017=@"loc,{#10000},1,14,1,16"
|
|
locations_default(#20017,#10000,1,14,1,16)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,3,"=")
|
|
#20019=@"loc,{#10000},1,18,1,18"
|
|
locations_default(#20019,#10000,1,18,1,18)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,3,#20001,4,"42")
|
|
#20021=@"loc,{#10000},1,20,1,21"
|
|
locations_default(#20021,#10000,1,20,1,21)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,5,";")
|
|
#20023=@"loc,{#10000},1,22,1,22"
|
|
locations_default(#20023,#10000,1,22,1,22)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,7,#20001,6,"export")
|
|
#20025=@"loc,{#10000},3,1,3,6"
|
|
locations_default(#20025,#10000,3,1,3,6)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,7,#20001,7,"class")
|
|
#20027=@"loc,{#10000},3,8,3,12"
|
|
locations_default(#20027,#10000,3,8,3,12)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,6,#20001,8,"C")
|
|
#20029=@"loc,{#10000},3,14,3,14"
|
|
locations_default(#20029,#10000,3,14,3,14)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,9,"{")
|
|
#20031=@"loc,{#10000},3,16,3,16"
|
|
locations_default(#20031,#10000,3,16,3,16)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,10,"}")
|
|
#20033=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20033,#10000,3,17,3,17)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,7,#20001,11,"export")
|
|
#20035=@"loc,{#10000},5,1,5,6"
|
|
locations_default(#20035,#10000,5,1,5,6)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,7,#20001,12,"default")
|
|
#20037=@"loc,{#10000},5,8,5,14"
|
|
locations_default(#20037,#10000,5,8,5,14)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,7,#20001,13,"function")
|
|
#20039=@"loc,{#10000},5,16,5,23"
|
|
locations_default(#20039,#10000,5,16,5,23)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,6,#20001,14,"f")
|
|
#20041=@"loc,{#10000},5,25,5,25"
|
|
locations_default(#20041,#10000,5,25,5,25)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,8,#20001,15,"(")
|
|
#20043=@"loc,{#10000},5,26,5,26"
|
|
locations_default(#20043,#10000,5,26,5,26)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,16,")")
|
|
#20045=@"loc,{#10000},5,27,5,27"
|
|
locations_default(#20045,#10000,5,27,5,27)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,8,#20001,17,"{")
|
|
#20047=@"loc,{#10000},5,29,5,29"
|
|
locations_default(#20047,#10000,5,29,5,29)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,18,"}")
|
|
#20049=@"loc,{#10000},5,30,5,30"
|
|
locations_default(#20049,#10000,5,30,5,30)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,19,";")
|
|
#20051=@"loc,{#10000},5,31,5,31"
|
|
locations_default(#20051,#10000,5,31,5,31)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,0,#20001,20,"")
|
|
#20053=@"loc,{#10000},6,1,6,0"
|
|
locations_default(#20053,#10000,6,1,6,0)
|
|
hasLocation(#20052,#20053)
|
|
toplevels(#20001,0)
|
|
#20054=@"loc,{#10000},1,1,6,0"
|
|
locations_default(#20054,#10000,1,1,6,0)
|
|
hasLocation(#20001,#20054)
|
|
#20055=@"module;{#10000},1,1"
|
|
scopes(#20055,3)
|
|
scopenodes(#20001,#20055)
|
|
scopenesting(#20055,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20056=@"var;{foo};{#20055}"
|
|
variables(#20056,"foo",#20055)
|
|
#20057=@"var;{C};{#20055}"
|
|
variables(#20057,"C",#20055)
|
|
#20058=@"var;{f};{#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)
|
|
#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)
|
|
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)
|
|
#20066=*
|
|
exprs(#20066,3,#20063,1,"42")
|
|
hasLocation(#20066,#20021)
|
|
enclosing_stmt(#20066,#20061)
|
|
expr_containers(#20066,#20001)
|
|
literals("42","42",#20066)
|
|
#20067=*
|
|
stmts(#20067,30,#20001,1,"export class C {}")
|
|
hasLocation(#20067,#20007)
|
|
stmt_containers(#20067,#20001)
|
|
#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)
|
|
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)
|
|
#20071=*
|
|
scopes(#20071,10)
|
|
scopenodes(#20068,#20071)
|
|
scopenesting(#20071,#20055)
|
|
#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)
|
|
#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)
|
|
#20076=*
|
|
scopes(#20076,1)
|
|
scopenodes(#20075,#20076)
|
|
scopenesting(#20076,#20071)
|
|
#20077=@"var;{arguments};{#20076}"
|
|
variables(#20077,"arguments",#20076)
|
|
is_arguments_object(#20077)
|
|
#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)
|
|
#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)
|
|
#20084=*
|
|
scopes(#20084,1)
|
|
scopenodes(#20081,#20084)
|
|
scopenesting(#20084,#20055)
|
|
#20085=@"var;{arguments};{#20084}"
|
|
variables(#20085,"arguments",#20084)
|
|
is_arguments_object(#20085)
|
|
#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)
|
|
#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)
|
|
#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)
|
|
numlines(#10000,5,3,0)
|
|
filetype(#10000,"typescript")
|