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