mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
150 lines
4.1 KiB
Plaintext
150 lines
4.1 KiB
Plaintext
#10000=@"/exportasnamespace.d.ts;sourcefile"
|
|
files(#10000,"/exportasnamespace.d.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 declare function foo();","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,30"
|
|
locations_default(#20003,#10000,1,1,1,30)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"export as namespace bar;","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,24"
|
|
locations_default(#20005,#10000,2,1,2,24)
|
|
hasLocation(#20004,#20005)
|
|
numlines(#20001,2,2,0)
|
|
#20006=*
|
|
tokeninfo(#20006,7,#20001,0,"export")
|
|
#20007=@"loc,{#10000},1,1,1,6"
|
|
locations_default(#20007,#10000,1,1,1,6)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,7,#20001,1,"declare")
|
|
#20009=@"loc,{#10000},1,8,1,14"
|
|
locations_default(#20009,#10000,1,8,1,14)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,7,#20001,2,"function")
|
|
#20011=@"loc,{#10000},1,16,1,23"
|
|
locations_default(#20011,#10000,1,16,1,23)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,3,"foo")
|
|
#20013=@"loc,{#10000},1,25,1,27"
|
|
locations_default(#20013,#10000,1,25,1,27)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,4,"(")
|
|
#20015=@"loc,{#10000},1,28,1,28"
|
|
locations_default(#20015,#10000,1,28,1,28)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,5,")")
|
|
#20017=@"loc,{#10000},1,29,1,29"
|
|
locations_default(#20017,#10000,1,29,1,29)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,6,";")
|
|
#20019=@"loc,{#10000},1,30,1,30"
|
|
locations_default(#20019,#10000,1,30,1,30)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,7,#20001,7,"export")
|
|
#20021=@"loc,{#10000},2,1,2,6"
|
|
locations_default(#20021,#10000,2,1,2,6)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,7,#20001,8,"as")
|
|
#20023=@"loc,{#10000},2,8,2,9"
|
|
locations_default(#20023,#10000,2,8,2,9)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,7,#20001,9,"namespace")
|
|
#20025=@"loc,{#10000},2,11,2,19"
|
|
locations_default(#20025,#10000,2,11,2,19)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,10,"bar")
|
|
#20027=@"loc,{#10000},2,21,2,23"
|
|
locations_default(#20027,#10000,2,21,2,23)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,11,";")
|
|
#20029=@"loc,{#10000},2,24,2,24"
|
|
locations_default(#20029,#10000,2,24,2,24)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,0,#20001,12,"")
|
|
#20031=@"loc,{#10000},3,1,3,0"
|
|
locations_default(#20031,#10000,3,1,3,0)
|
|
hasLocation(#20030,#20031)
|
|
toplevels(#20001,0)
|
|
#20032=@"loc,{#10000},1,1,3,0"
|
|
locations_default(#20032,#10000,1,1,3,0)
|
|
hasLocation(#20001,#20032)
|
|
#20033=@"module;{#10000},1,1"
|
|
scopes(#20033,3)
|
|
scopenodes(#20001,#20033)
|
|
scopenesting(#20033,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20034=@"var;{foo};{#20033}"
|
|
variables(#20034,"foo",#20033)
|
|
#20035=*
|
|
stmts(#20035,30,#20001,0,"export ... foo();")
|
|
hasLocation(#20035,#20003)
|
|
stmt_containers(#20035,#20001)
|
|
#20036=*
|
|
stmts(#20036,17,#20035,-1,"declare ... foo();")
|
|
#20037=@"loc,{#10000},1,8,1,30"
|
|
locations_default(#20037,#10000,1,8,1,30)
|
|
hasLocation(#20036,#20037)
|
|
stmt_containers(#20036,#20001)
|
|
has_declare_keyword(#20036)
|
|
#20038=*
|
|
exprs(#20038,78,#20036,-1,"foo")
|
|
hasLocation(#20038,#20013)
|
|
expr_containers(#20038,#20036)
|
|
literals("foo","foo",#20038)
|
|
decl(#20038,#20034)
|
|
#20039=*
|
|
scopes(#20039,1)
|
|
scopenodes(#20036,#20039)
|
|
scopenesting(#20039,#20033)
|
|
#20040=@"var;{arguments};{#20039}"
|
|
variables(#20040,"arguments",#20039)
|
|
is_arguments_object(#20040)
|
|
#20041=*
|
|
stmts(#20041,38,#20001,1,"export ... ce bar;")
|
|
hasLocation(#20041,#20005)
|
|
stmt_containers(#20041,#20001)
|
|
#20042=*
|
|
exprs(#20042,0,#20041,0,"bar")
|
|
hasLocation(#20042,#20027)
|
|
enclosing_stmt(#20042,#20041)
|
|
expr_containers(#20042,#20001)
|
|
literals("bar","bar",#20042)
|
|
#20043=*
|
|
entry_cfg_node(#20043,#20001)
|
|
#20044=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20044,#10000,1,1,1,0)
|
|
hasLocation(#20043,#20044)
|
|
#20045=*
|
|
exit_cfg_node(#20045,#20001)
|
|
hasLocation(#20045,#20031)
|
|
successor(#20041,#20045)
|
|
successor(#20035,#20036)
|
|
successor(#20036,#20041)
|
|
successor(#20043,#20035)
|
|
numlines(#10000,2,2,0)
|
|
filetype(#10000,"typescript")
|