mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
442 lines
12 KiB
Plaintext
442 lines
12 KiB
Plaintext
#10000=@"/interfaces.ts;sourcefile"
|
|
files(#10000,"/interfaces.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,"interface MyInterface {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,23"
|
|
locations_default(#20003,#10000,1,1,1,23)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," foo();","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,8"
|
|
locations_default(#20005,#10000,2,1,2,8)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001," bar(x: number): string;","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,25"
|
|
locations_default(#20007,#10000,3,1,3,25)
|
|
hasLocation(#20006,#20007)
|
|
indentation(#10000,3," ",2)
|
|
#20008=*
|
|
lines(#20008,#20001," field: number;","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,16"
|
|
locations_default(#20009,#10000,4,1,4,16)
|
|
hasLocation(#20008,#20009)
|
|
indentation(#10000,4," ",2)
|
|
#20010=*
|
|
lines(#20010,#20001,"}","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,1"
|
|
locations_default(#20011,#10000,5,1,5,1)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
lines(#20012,#20001,"","
|
|
")
|
|
#20013=@"loc,{#10000},6,1,6,0"
|
|
locations_default(#20013,#10000,6,1,6,0)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
lines(#20014,#20001,"namespace Foo {","
|
|
")
|
|
#20015=@"loc,{#10000},7,1,7,15"
|
|
locations_default(#20015,#10000,7,1,7,15)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
lines(#20016,#20001," export interface I {","
|
|
")
|
|
#20017=@"loc,{#10000},8,1,8,22"
|
|
locations_default(#20017,#10000,8,1,8,22)
|
|
hasLocation(#20016,#20017)
|
|
indentation(#10000,8," ",2)
|
|
#20018=*
|
|
lines(#20018,#20001," bar();","
|
|
")
|
|
#20019=@"loc,{#10000},9,1,9,10"
|
|
locations_default(#20019,#10000,9,1,9,10)
|
|
hasLocation(#20018,#20019)
|
|
indentation(#10000,9," ",4)
|
|
#20020=*
|
|
lines(#20020,#20001," }","
|
|
")
|
|
#20021=@"loc,{#10000},10,1,10,3"
|
|
locations_default(#20021,#10000,10,1,10,3)
|
|
hasLocation(#20020,#20021)
|
|
indentation(#10000,10," ",2)
|
|
#20022=*
|
|
lines(#20022,#20001,"}","
|
|
")
|
|
#20023=@"loc,{#10000},11,1,11,1"
|
|
locations_default(#20023,#10000,11,1,11,1)
|
|
hasLocation(#20022,#20023)
|
|
numlines(#20001,11,10,0)
|
|
#20024=*
|
|
tokeninfo(#20024,7,#20001,0,"interface")
|
|
#20025=@"loc,{#10000},1,1,1,9"
|
|
locations_default(#20025,#10000,1,1,1,9)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,1,"MyInterface")
|
|
#20027=@"loc,{#10000},1,11,1,21"
|
|
locations_default(#20027,#10000,1,11,1,21)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,2,"{")
|
|
#20029=@"loc,{#10000},1,23,1,23"
|
|
locations_default(#20029,#10000,1,23,1,23)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,6,#20001,3,"foo")
|
|
#20031=@"loc,{#10000},2,3,2,5"
|
|
locations_default(#20031,#10000,2,3,2,5)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,4,"(")
|
|
#20033=@"loc,{#10000},2,6,2,6"
|
|
locations_default(#20033,#10000,2,6,2,6)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,5,")")
|
|
#20035=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20035,#10000,2,7,2,7)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,6,";")
|
|
#20037=@"loc,{#10000},2,8,2,8"
|
|
locations_default(#20037,#10000,2,8,2,8)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,6,#20001,7,"bar")
|
|
#20039=@"loc,{#10000},3,3,3,5"
|
|
locations_default(#20039,#10000,3,3,3,5)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,8,"(")
|
|
#20041=@"loc,{#10000},3,6,3,6"
|
|
locations_default(#20041,#10000,3,6,3,6)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,6,#20001,9,"x")
|
|
#20043=@"loc,{#10000},3,7,3,7"
|
|
locations_default(#20043,#10000,3,7,3,7)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,10,":")
|
|
#20045=@"loc,{#10000},3,8,3,8"
|
|
locations_default(#20045,#10000,3,8,3,8)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,7,#20001,11,"number")
|
|
#20047=@"loc,{#10000},3,10,3,15"
|
|
locations_default(#20047,#10000,3,10,3,15)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,12,")")
|
|
#20049=@"loc,{#10000},3,16,3,16"
|
|
locations_default(#20049,#10000,3,16,3,16)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,13,":")
|
|
#20051=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20051,#10000,3,17,3,17)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,7,#20001,14,"string")
|
|
#20053=@"loc,{#10000},3,19,3,24"
|
|
locations_default(#20053,#10000,3,19,3,24)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,8,#20001,15,";")
|
|
#20055=@"loc,{#10000},3,25,3,25"
|
|
locations_default(#20055,#10000,3,25,3,25)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,6,#20001,16,"field")
|
|
#20057=@"loc,{#10000},4,3,4,7"
|
|
locations_default(#20057,#10000,4,3,4,7)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,8,#20001,17,":")
|
|
#20059=@"loc,{#10000},4,8,4,8"
|
|
locations_default(#20059,#10000,4,8,4,8)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
tokeninfo(#20060,7,#20001,18,"number")
|
|
#20061=@"loc,{#10000},4,10,4,15"
|
|
locations_default(#20061,#10000,4,10,4,15)
|
|
hasLocation(#20060,#20061)
|
|
#20062=*
|
|
tokeninfo(#20062,8,#20001,19,";")
|
|
#20063=@"loc,{#10000},4,16,4,16"
|
|
locations_default(#20063,#10000,4,16,4,16)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,8,#20001,20,"}")
|
|
hasLocation(#20064,#20011)
|
|
#20065=*
|
|
tokeninfo(#20065,7,#20001,21,"namespace")
|
|
#20066=@"loc,{#10000},7,1,7,9"
|
|
locations_default(#20066,#10000,7,1,7,9)
|
|
hasLocation(#20065,#20066)
|
|
#20067=*
|
|
tokeninfo(#20067,6,#20001,22,"Foo")
|
|
#20068=@"loc,{#10000},7,11,7,13"
|
|
locations_default(#20068,#10000,7,11,7,13)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
tokeninfo(#20069,8,#20001,23,"{")
|
|
#20070=@"loc,{#10000},7,15,7,15"
|
|
locations_default(#20070,#10000,7,15,7,15)
|
|
hasLocation(#20069,#20070)
|
|
#20071=*
|
|
tokeninfo(#20071,7,#20001,24,"export")
|
|
#20072=@"loc,{#10000},8,3,8,8"
|
|
locations_default(#20072,#10000,8,3,8,8)
|
|
hasLocation(#20071,#20072)
|
|
#20073=*
|
|
tokeninfo(#20073,7,#20001,25,"interface")
|
|
#20074=@"loc,{#10000},8,10,8,18"
|
|
locations_default(#20074,#10000,8,10,8,18)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
tokeninfo(#20075,6,#20001,26,"I")
|
|
#20076=@"loc,{#10000},8,20,8,20"
|
|
locations_default(#20076,#10000,8,20,8,20)
|
|
hasLocation(#20075,#20076)
|
|
#20077=*
|
|
tokeninfo(#20077,8,#20001,27,"{")
|
|
#20078=@"loc,{#10000},8,22,8,22"
|
|
locations_default(#20078,#10000,8,22,8,22)
|
|
hasLocation(#20077,#20078)
|
|
#20079=*
|
|
tokeninfo(#20079,6,#20001,28,"bar")
|
|
#20080=@"loc,{#10000},9,5,9,7"
|
|
locations_default(#20080,#10000,9,5,9,7)
|
|
hasLocation(#20079,#20080)
|
|
#20081=*
|
|
tokeninfo(#20081,8,#20001,29,"(")
|
|
#20082=@"loc,{#10000},9,8,9,8"
|
|
locations_default(#20082,#10000,9,8,9,8)
|
|
hasLocation(#20081,#20082)
|
|
#20083=*
|
|
tokeninfo(#20083,8,#20001,30,")")
|
|
#20084=@"loc,{#10000},9,9,9,9"
|
|
locations_default(#20084,#10000,9,9,9,9)
|
|
hasLocation(#20083,#20084)
|
|
#20085=*
|
|
tokeninfo(#20085,8,#20001,31,";")
|
|
#20086=@"loc,{#10000},9,10,9,10"
|
|
locations_default(#20086,#10000,9,10,9,10)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
tokeninfo(#20087,8,#20001,32,"}")
|
|
#20088=@"loc,{#10000},10,3,10,3"
|
|
locations_default(#20088,#10000,10,3,10,3)
|
|
hasLocation(#20087,#20088)
|
|
#20089=*
|
|
tokeninfo(#20089,8,#20001,33,"}")
|
|
hasLocation(#20089,#20023)
|
|
#20090=*
|
|
tokeninfo(#20090,0,#20001,34,"")
|
|
#20091=@"loc,{#10000},12,1,12,0"
|
|
locations_default(#20091,#10000,12,1,12,0)
|
|
hasLocation(#20090,#20091)
|
|
toplevels(#20001,0)
|
|
#20092=@"loc,{#10000},1,1,12,0"
|
|
locations_default(#20092,#10000,1,1,12,0)
|
|
hasLocation(#20001,#20092)
|
|
#20093=@"local_namespace_name;{Foo};{#20000}"
|
|
local_namespace_names(#20093,"Foo",#20000)
|
|
#20094=@"local_type_name;{MyInterface};{#20000}"
|
|
local_type_names(#20094,"MyInterface",#20000)
|
|
#20095=*
|
|
stmts(#20095,34,#20001,0,"interfa ... mber;\n}")
|
|
#20096=@"loc,{#10000},1,1,5,1"
|
|
locations_default(#20096,#10000,1,1,5,1)
|
|
hasLocation(#20095,#20096)
|
|
stmt_containers(#20095,#20001)
|
|
#20097=*
|
|
typeexprs(#20097,1,#20095,0,"MyInterface")
|
|
hasLocation(#20097,#20027)
|
|
enclosing_stmt(#20097,#20095)
|
|
expr_containers(#20097,#20001)
|
|
literals("MyInterface","MyInterface",#20097)
|
|
typedecl(#20097,#20094)
|
|
#20098=*
|
|
properties(#20098,#20095,2,0,"foo();")
|
|
#20099=@"loc,{#10000},2,3,2,8"
|
|
locations_default(#20099,#10000,2,3,2,8)
|
|
hasLocation(#20098,#20099)
|
|
#20100=*
|
|
exprs(#20100,0,#20098,0,"foo")
|
|
hasLocation(#20100,#20031)
|
|
enclosing_stmt(#20100,#20095)
|
|
expr_containers(#20100,#20001)
|
|
literals("foo","foo",#20100)
|
|
#20101=*
|
|
exprs(#20101,9,#20098,1,"foo();")
|
|
hasLocation(#20101,#20099)
|
|
enclosing_stmt(#20101,#20095)
|
|
expr_containers(#20101,#20001)
|
|
#20102=*
|
|
scopes(#20102,1)
|
|
scopenodes(#20101,#20102)
|
|
scopenesting(#20102,#20000)
|
|
#20103=@"var;{arguments};{#20102}"
|
|
variables(#20103,"arguments",#20102)
|
|
is_arguments_object(#20103)
|
|
is_method(#20098)
|
|
is_abstract_member(#20098)
|
|
#20104=*
|
|
properties(#20104,#20095,3,0,"bar(x: ... string;")
|
|
#20105=@"loc,{#10000},3,3,3,25"
|
|
locations_default(#20105,#10000,3,3,3,25)
|
|
hasLocation(#20104,#20105)
|
|
#20106=*
|
|
exprs(#20106,0,#20104,0,"bar")
|
|
hasLocation(#20106,#20039)
|
|
enclosing_stmt(#20106,#20095)
|
|
expr_containers(#20106,#20001)
|
|
literals("bar","bar",#20106)
|
|
#20107=*
|
|
exprs(#20107,9,#20104,1,"bar(x: ... string;")
|
|
hasLocation(#20107,#20105)
|
|
enclosing_stmt(#20107,#20095)
|
|
expr_containers(#20107,#20001)
|
|
#20108=*
|
|
scopes(#20108,1)
|
|
scopenodes(#20107,#20108)
|
|
scopenesting(#20108,#20000)
|
|
#20109=@"var;{x};{#20108}"
|
|
variables(#20109,"x",#20108)
|
|
#20110=*
|
|
exprs(#20110,78,#20107,0,"x")
|
|
hasLocation(#20110,#20043)
|
|
expr_containers(#20110,#20107)
|
|
literals("x","x",#20110)
|
|
decl(#20110,#20109)
|
|
#20111=@"var;{arguments};{#20108}"
|
|
variables(#20111,"arguments",#20108)
|
|
is_arguments_object(#20111)
|
|
#20112=*
|
|
typeexprs(#20112,2,#20107,-3,"string")
|
|
hasLocation(#20112,#20053)
|
|
expr_containers(#20112,#20107)
|
|
literals("string","string",#20112)
|
|
#20113=*
|
|
typeexprs(#20113,2,#20107,-6,"number")
|
|
hasLocation(#20113,#20047)
|
|
expr_containers(#20113,#20107)
|
|
literals("number","number",#20113)
|
|
is_method(#20104)
|
|
is_abstract_member(#20104)
|
|
#20114=*
|
|
properties(#20114,#20095,4,8,"field: number;")
|
|
#20115=@"loc,{#10000},4,3,4,16"
|
|
locations_default(#20115,#10000,4,3,4,16)
|
|
hasLocation(#20114,#20115)
|
|
#20116=*
|
|
exprs(#20116,0,#20114,0,"field")
|
|
hasLocation(#20116,#20057)
|
|
enclosing_stmt(#20116,#20095)
|
|
expr_containers(#20116,#20001)
|
|
literals("field","field",#20116)
|
|
is_abstract_member(#20114)
|
|
#20117=*
|
|
typeexprs(#20117,2,#20114,2,"number")
|
|
hasLocation(#20117,#20061)
|
|
enclosing_stmt(#20117,#20095)
|
|
expr_containers(#20117,#20001)
|
|
literals("number","number",#20117)
|
|
#20118=*
|
|
stmts(#20118,31,#20001,1,"namespa ... ;\n }\n}")
|
|
#20119=@"loc,{#10000},7,1,11,1"
|
|
locations_default(#20119,#10000,7,1,11,1)
|
|
hasLocation(#20118,#20119)
|
|
stmt_containers(#20118,#20001)
|
|
#20120=*
|
|
exprs(#20120,78,#20118,-1,"Foo")
|
|
hasLocation(#20120,#20068)
|
|
enclosing_stmt(#20120,#20118)
|
|
expr_containers(#20120,#20001)
|
|
literals("Foo","Foo",#20120)
|
|
namespacedecl(#20120,#20093)
|
|
#20121=*
|
|
scopes(#20121,9)
|
|
scopenodes(#20118,#20121)
|
|
scopenesting(#20121,#20000)
|
|
#20122=@"local_type_name;{I};{#20121}"
|
|
local_type_names(#20122,"I",#20121)
|
|
#20123=*
|
|
stmts(#20123,30,#20118,0,"export ... ();\n }")
|
|
#20124=@"loc,{#10000},8,3,10,3"
|
|
locations_default(#20124,#10000,8,3,10,3)
|
|
hasLocation(#20123,#20124)
|
|
stmt_containers(#20123,#20118)
|
|
#20125=*
|
|
stmts(#20125,34,#20123,-1,"interfa ... ();\n }")
|
|
#20126=@"loc,{#10000},8,10,10,3"
|
|
locations_default(#20126,#10000,8,10,10,3)
|
|
hasLocation(#20125,#20126)
|
|
stmt_containers(#20125,#20118)
|
|
#20127=*
|
|
typeexprs(#20127,1,#20125,0,"I")
|
|
hasLocation(#20127,#20076)
|
|
enclosing_stmt(#20127,#20125)
|
|
expr_containers(#20127,#20118)
|
|
literals("I","I",#20127)
|
|
typedecl(#20127,#20122)
|
|
#20128=*
|
|
properties(#20128,#20125,2,0,"bar();")
|
|
#20129=@"loc,{#10000},9,5,9,10"
|
|
locations_default(#20129,#10000,9,5,9,10)
|
|
hasLocation(#20128,#20129)
|
|
#20130=*
|
|
exprs(#20130,0,#20128,0,"bar")
|
|
hasLocation(#20130,#20080)
|
|
enclosing_stmt(#20130,#20125)
|
|
expr_containers(#20130,#20118)
|
|
literals("bar","bar",#20130)
|
|
#20131=*
|
|
exprs(#20131,9,#20128,1,"bar();")
|
|
hasLocation(#20131,#20129)
|
|
enclosing_stmt(#20131,#20125)
|
|
expr_containers(#20131,#20118)
|
|
#20132=*
|
|
scopes(#20132,1)
|
|
scopenodes(#20131,#20132)
|
|
scopenesting(#20132,#20121)
|
|
#20133=@"var;{arguments};{#20132}"
|
|
variables(#20133,"arguments",#20132)
|
|
is_arguments_object(#20133)
|
|
is_method(#20128)
|
|
is_abstract_member(#20128)
|
|
#20134=*
|
|
entry_cfg_node(#20134,#20001)
|
|
#20135=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20135,#10000,1,1,1,0)
|
|
hasLocation(#20134,#20135)
|
|
#20136=*
|
|
exit_cfg_node(#20136,#20001)
|
|
hasLocation(#20136,#20091)
|
|
successor(#20120,#20118)
|
|
successor(#20123,#20125)
|
|
successor(#20125,#20136)
|
|
successor(#20118,#20123)
|
|
successor(#20095,#20120)
|
|
successor(#20134,#20095)
|
|
numlines(#10000,11,10,0)
|
|
filetype(#10000,"typescript")
|