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