mirror of
https://github.com/github/codeql.git
synced 2026-04-13 19:14:04 +02:00
450 lines
12 KiB
Plaintext
450 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=@"var;{this};{#20000}"
|
|
variables(#20095,"this",#20000)
|
|
#20096=*
|
|
stmts(#20096,34,#20001,0,"interfa ... mber;\n}")
|
|
#20097=@"loc,{#10000},1,1,5,1"
|
|
locations_default(#20097,#10000,1,1,5,1)
|
|
hasLocation(#20096,#20097)
|
|
stmt_containers(#20096,#20001)
|
|
#20098=*
|
|
typeexprs(#20098,1,#20096,0,"MyInterface")
|
|
hasLocation(#20098,#20027)
|
|
enclosing_stmt(#20098,#20096)
|
|
expr_containers(#20098,#20001)
|
|
literals("MyInterface","MyInterface",#20098)
|
|
typedecl(#20098,#20094)
|
|
#20099=*
|
|
properties(#20099,#20096,2,0,"foo();")
|
|
#20100=@"loc,{#10000},2,3,2,8"
|
|
locations_default(#20100,#10000,2,3,2,8)
|
|
hasLocation(#20099,#20100)
|
|
#20101=*
|
|
exprs(#20101,0,#20099,0,"foo")
|
|
hasLocation(#20101,#20031)
|
|
enclosing_stmt(#20101,#20096)
|
|
expr_containers(#20101,#20001)
|
|
literals("foo","foo",#20101)
|
|
#20102=*
|
|
exprs(#20102,9,#20099,1,"foo();")
|
|
hasLocation(#20102,#20100)
|
|
enclosing_stmt(#20102,#20096)
|
|
expr_containers(#20102,#20001)
|
|
#20103=*
|
|
scopes(#20103,1)
|
|
scopenodes(#20102,#20103)
|
|
scopenesting(#20103,#20000)
|
|
#20104=@"var;{this};{#20103}"
|
|
variables(#20104,"this",#20103)
|
|
#20105=@"var;{arguments};{#20103}"
|
|
variables(#20105,"arguments",#20103)
|
|
is_arguments_object(#20105)
|
|
is_method(#20099)
|
|
is_abstract_member(#20099)
|
|
#20106=*
|
|
properties(#20106,#20096,3,0,"bar(x: ... string;")
|
|
#20107=@"loc,{#10000},3,3,3,25"
|
|
locations_default(#20107,#10000,3,3,3,25)
|
|
hasLocation(#20106,#20107)
|
|
#20108=*
|
|
exprs(#20108,0,#20106,0,"bar")
|
|
hasLocation(#20108,#20039)
|
|
enclosing_stmt(#20108,#20096)
|
|
expr_containers(#20108,#20001)
|
|
literals("bar","bar",#20108)
|
|
#20109=*
|
|
exprs(#20109,9,#20106,1,"bar(x: ... string;")
|
|
hasLocation(#20109,#20107)
|
|
enclosing_stmt(#20109,#20096)
|
|
expr_containers(#20109,#20001)
|
|
#20110=*
|
|
scopes(#20110,1)
|
|
scopenodes(#20109,#20110)
|
|
scopenesting(#20110,#20000)
|
|
#20111=@"var;{this};{#20110}"
|
|
variables(#20111,"this",#20110)
|
|
#20112=@"var;{x};{#20110}"
|
|
variables(#20112,"x",#20110)
|
|
#20113=*
|
|
exprs(#20113,78,#20109,0,"x")
|
|
hasLocation(#20113,#20043)
|
|
expr_containers(#20113,#20109)
|
|
literals("x","x",#20113)
|
|
decl(#20113,#20112)
|
|
#20114=@"var;{arguments};{#20110}"
|
|
variables(#20114,"arguments",#20110)
|
|
is_arguments_object(#20114)
|
|
#20115=*
|
|
typeexprs(#20115,2,#20109,-3,"string")
|
|
hasLocation(#20115,#20053)
|
|
expr_containers(#20115,#20109)
|
|
literals("string","string",#20115)
|
|
#20116=*
|
|
typeexprs(#20116,2,#20109,-6,"number")
|
|
hasLocation(#20116,#20047)
|
|
expr_containers(#20116,#20109)
|
|
literals("number","number",#20116)
|
|
is_method(#20106)
|
|
is_abstract_member(#20106)
|
|
#20117=*
|
|
properties(#20117,#20096,4,8,"field: number;")
|
|
#20118=@"loc,{#10000},4,3,4,16"
|
|
locations_default(#20118,#10000,4,3,4,16)
|
|
hasLocation(#20117,#20118)
|
|
#20119=*
|
|
exprs(#20119,0,#20117,0,"field")
|
|
hasLocation(#20119,#20057)
|
|
enclosing_stmt(#20119,#20096)
|
|
expr_containers(#20119,#20001)
|
|
literals("field","field",#20119)
|
|
is_abstract_member(#20117)
|
|
#20120=*
|
|
typeexprs(#20120,2,#20117,2,"number")
|
|
hasLocation(#20120,#20061)
|
|
enclosing_stmt(#20120,#20096)
|
|
expr_containers(#20120,#20001)
|
|
literals("number","number",#20120)
|
|
#20121=*
|
|
stmts(#20121,31,#20001,1,"namespa ... ;\n }\n}")
|
|
#20122=@"loc,{#10000},7,1,11,1"
|
|
locations_default(#20122,#10000,7,1,11,1)
|
|
hasLocation(#20121,#20122)
|
|
stmt_containers(#20121,#20001)
|
|
#20123=*
|
|
exprs(#20123,78,#20121,-1,"Foo")
|
|
hasLocation(#20123,#20068)
|
|
enclosing_stmt(#20123,#20121)
|
|
expr_containers(#20123,#20001)
|
|
literals("Foo","Foo",#20123)
|
|
namespacedecl(#20123,#20093)
|
|
#20124=*
|
|
scopes(#20124,9)
|
|
scopenodes(#20121,#20124)
|
|
scopenesting(#20124,#20000)
|
|
#20125=@"local_type_name;{I};{#20124}"
|
|
local_type_names(#20125,"I",#20124)
|
|
#20126=*
|
|
stmts(#20126,30,#20121,0,"export ... ();\n }")
|
|
#20127=@"loc,{#10000},8,3,10,3"
|
|
locations_default(#20127,#10000,8,3,10,3)
|
|
hasLocation(#20126,#20127)
|
|
stmt_containers(#20126,#20121)
|
|
#20128=*
|
|
stmts(#20128,34,#20126,-1,"interfa ... ();\n }")
|
|
#20129=@"loc,{#10000},8,10,10,3"
|
|
locations_default(#20129,#10000,8,10,10,3)
|
|
hasLocation(#20128,#20129)
|
|
stmt_containers(#20128,#20121)
|
|
#20130=*
|
|
typeexprs(#20130,1,#20128,0,"I")
|
|
hasLocation(#20130,#20076)
|
|
enclosing_stmt(#20130,#20128)
|
|
expr_containers(#20130,#20121)
|
|
literals("I","I",#20130)
|
|
typedecl(#20130,#20125)
|
|
#20131=*
|
|
properties(#20131,#20128,2,0,"bar();")
|
|
#20132=@"loc,{#10000},9,5,9,10"
|
|
locations_default(#20132,#10000,9,5,9,10)
|
|
hasLocation(#20131,#20132)
|
|
#20133=*
|
|
exprs(#20133,0,#20131,0,"bar")
|
|
hasLocation(#20133,#20080)
|
|
enclosing_stmt(#20133,#20128)
|
|
expr_containers(#20133,#20121)
|
|
literals("bar","bar",#20133)
|
|
#20134=*
|
|
exprs(#20134,9,#20131,1,"bar();")
|
|
hasLocation(#20134,#20132)
|
|
enclosing_stmt(#20134,#20128)
|
|
expr_containers(#20134,#20121)
|
|
#20135=*
|
|
scopes(#20135,1)
|
|
scopenodes(#20134,#20135)
|
|
scopenesting(#20135,#20124)
|
|
#20136=@"var;{this};{#20135}"
|
|
variables(#20136,"this",#20135)
|
|
#20137=@"var;{arguments};{#20135}"
|
|
variables(#20137,"arguments",#20135)
|
|
is_arguments_object(#20137)
|
|
is_method(#20131)
|
|
is_abstract_member(#20131)
|
|
#20138=*
|
|
entry_cfg_node(#20138,#20001)
|
|
#20139=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20139,#10000,1,1,1,0)
|
|
hasLocation(#20138,#20139)
|
|
#20140=*
|
|
exit_cfg_node(#20140,#20001)
|
|
hasLocation(#20140,#20091)
|
|
successor(#20123,#20121)
|
|
successor(#20126,#20128)
|
|
successor(#20128,#20140)
|
|
successor(#20121,#20126)
|
|
successor(#20096,#20123)
|
|
successor(#20138,#20096)
|
|
numlines(#10000,11,10,0)
|
|
filetype(#10000,"typescript")
|