Files
codeql/javascript/extractor/tests/ts/output/trap/export.ts.trap
2018-11-07 07:48:25 +00:00

328 lines
8.8 KiB
Plaintext

#10000=@"/export.ts;sourcefile"
files(#10000,"/export.ts","export","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,6,0"
locations_default(#20002,#10000,1,1,6,0)
hasLocation(#20001,#20002)
#20003=@"module;{#10000},1,1"
scopes(#20003,3)
scopenodes(#20001,#20003)
scopenesting(#20003,#20000)
isModule(#20001)
#20004=@"var;{f};{#20003}"
variables(#20004,"f",#20003)
#20005=@"var;{foo};{#20003}"
variables(#20005,"foo",#20003)
#20006=@"var;{C};{#20003}"
variables(#20006,"C",#20003)
#20007=@"local_type_name;{C};{#20003}"
local_type_names(#20007,"C",#20003)
#20008=*
stmts(#20008,30,#20001,0,"export ... o = 42;")
#20009=@"loc,{#10000},1,1,1,22"
locations_default(#20009,#10000,1,1,1,22)
hasLocation(#20008,#20009)
stmtContainers(#20008,#20001)
#20010=*
stmts(#20010,22,#20008,-1,"const foo = 42;")
#20011=@"loc,{#10000},1,8,1,22"
locations_default(#20011,#10000,1,8,1,22)
hasLocation(#20010,#20011)
stmtContainers(#20010,#20001)
#20012=*
exprs(#20012,64,#20010,0,"foo = 42")
#20013=@"loc,{#10000},1,14,1,21"
locations_default(#20013,#10000,1,14,1,21)
hasLocation(#20012,#20013)
enclosingStmt(#20012,#20010)
exprContainers(#20012,#20001)
#20014=*
exprs(#20014,78,#20012,0,"foo")
#20015=@"loc,{#10000},1,14,1,16"
locations_default(#20015,#10000,1,14,1,16)
hasLocation(#20014,#20015)
enclosingStmt(#20014,#20010)
exprContainers(#20014,#20001)
literals("foo","foo",#20014)
decl(#20014,#20005)
#20016=*
exprs(#20016,3,#20012,1,"42")
#20017=@"loc,{#10000},1,20,1,21"
locations_default(#20017,#10000,1,20,1,21)
hasLocation(#20016,#20017)
enclosingStmt(#20016,#20010)
exprContainers(#20016,#20001)
literals("42","42",#20016)
#20018=*
stmts(#20018,30,#20001,1,"export class C {}")
#20019=@"loc,{#10000},3,1,3,17"
locations_default(#20019,#10000,3,1,3,17)
hasLocation(#20018,#20019)
stmtContainers(#20018,#20001)
#20020=*
stmts(#20020,26,#20018,-1,"class C {}")
#20021=@"loc,{#10000},3,8,3,17"
locations_default(#20021,#10000,3,8,3,17)
hasLocation(#20020,#20021)
stmtContainers(#20020,#20001)
#20022=*
exprs(#20022,78,#20020,0,"C")
#20023=@"loc,{#10000},3,14,3,14"
locations_default(#20023,#10000,3,14,3,14)
hasLocation(#20022,#20023)
enclosingStmt(#20022,#20020)
exprContainers(#20022,#20001)
literals("C","C",#20022)
decl(#20022,#20006)
typedecl(#20022,#20007)
#20024=*
scopes(#20024,10)
scopenodes(#20020,#20024)
scopenesting(#20024,#20003)
#20025=*
properties(#20025,#20020,2,0,"constructor() {}")
#20026=@"loc,{#10000},3,16,3,15"
locations_default(#20026,#10000,3,16,3,15)
hasLocation(#20025,#20026)
#20027=*
exprs(#20027,0,#20025,0,"constructor")
hasLocation(#20027,#20026)
enclosingStmt(#20027,#20020)
exprContainers(#20027,#20001)
literals("constructor","constructor",#20027)
#20028=*
exprs(#20028,9,#20025,1,"() {}")
hasLocation(#20028,#20026)
enclosingStmt(#20028,#20020)
exprContainers(#20028,#20001)
#20029=*
scopes(#20029,1)
scopenodes(#20028,#20029)
scopenesting(#20029,#20024)
#20030=@"var;{arguments};{#20029}"
variables(#20030,"arguments",#20029)
isArgumentsObject(#20030)
#20031=*
stmts(#20031,1,#20028,-2,"{}")
hasLocation(#20031,#20026)
stmtContainers(#20031,#20028)
numlines(#20028,1,0,0)
isMethod(#20025)
#20032=*
stmts(#20032,29,#20001,2,"export ... f() {}")
#20033=@"loc,{#10000},5,1,5,30"
locations_default(#20033,#10000,5,1,5,30)
hasLocation(#20032,#20033)
stmtContainers(#20032,#20001)
#20034=*
stmts(#20034,17,#20032,0,"function f() {}")
#20035=@"loc,{#10000},5,16,5,30"
locations_default(#20035,#10000,5,16,5,30)
hasLocation(#20034,#20035)
stmtContainers(#20034,#20001)
#20036=*
exprs(#20036,78,#20034,-1,"f")
#20037=@"loc,{#10000},5,25,5,25"
locations_default(#20037,#10000,5,25,5,25)
hasLocation(#20036,#20037)
exprContainers(#20036,#20034)
literals("f","f",#20036)
decl(#20036,#20004)
#20038=*
scopes(#20038,1)
scopenodes(#20034,#20038)
scopenesting(#20038,#20003)
#20039=@"var;{arguments};{#20038}"
variables(#20039,"arguments",#20038)
isArgumentsObject(#20039)
#20040=*
stmts(#20040,1,#20034,-2,"{}")
#20041=@"loc,{#10000},5,29,5,30"
locations_default(#20041,#10000,5,29,5,30)
hasLocation(#20040,#20041)
stmtContainers(#20040,#20034)
numlines(#20034,1,1,0)
#20042=*
stmts(#20042,0,#20001,3,";")
#20043=@"loc,{#10000},5,31,5,31"
locations_default(#20043,#10000,5,31,5,31)
hasLocation(#20042,#20043)
stmtContainers(#20042,#20001)
#20044=*
lines(#20044,#20001,"export const foo = 42;","
")
hasLocation(#20044,#20009)
#20045=*
lines(#20045,#20001,"","
")
#20046=@"loc,{#10000},2,1,2,0"
locations_default(#20046,#10000,2,1,2,0)
hasLocation(#20045,#20046)
#20047=*
lines(#20047,#20001,"export class C {}","
")
hasLocation(#20047,#20019)
#20048=*
lines(#20048,#20001,"","
")
#20049=@"loc,{#10000},4,1,4,0"
locations_default(#20049,#10000,4,1,4,0)
hasLocation(#20048,#20049)
#20050=*
lines(#20050,#20001,"export default function f() {};","
")
#20051=@"loc,{#10000},5,1,5,31"
locations_default(#20051,#10000,5,1,5,31)
hasLocation(#20050,#20051)
numlines(#20001,5,3,0)
#20052=*
tokeninfo(#20052,7,#20001,0,"export")
#20053=@"loc,{#10000},1,1,1,6"
locations_default(#20053,#10000,1,1,1,6)
hasLocation(#20052,#20053)
#20054=*
tokeninfo(#20054,7,#20001,1,"const")
#20055=@"loc,{#10000},1,8,1,12"
locations_default(#20055,#10000,1,8,1,12)
hasLocation(#20054,#20055)
#20056=*
tokeninfo(#20056,6,#20001,2,"foo")
hasLocation(#20056,#20015)
#20057=*
tokeninfo(#20057,8,#20001,3,"=")
#20058=@"loc,{#10000},1,18,1,18"
locations_default(#20058,#10000,1,18,1,18)
hasLocation(#20057,#20058)
#20059=*
tokeninfo(#20059,3,#20001,4,"42")
hasLocation(#20059,#20017)
#20060=*
tokeninfo(#20060,8,#20001,5,";")
#20061=@"loc,{#10000},1,22,1,22"
locations_default(#20061,#10000,1,22,1,22)
hasLocation(#20060,#20061)
#20062=*
tokeninfo(#20062,7,#20001,6,"export")
#20063=@"loc,{#10000},3,1,3,6"
locations_default(#20063,#10000,3,1,3,6)
hasLocation(#20062,#20063)
#20064=*
tokeninfo(#20064,7,#20001,7,"class")
#20065=@"loc,{#10000},3,8,3,12"
locations_default(#20065,#10000,3,8,3,12)
hasLocation(#20064,#20065)
#20066=*
tokeninfo(#20066,6,#20001,8,"C")
hasLocation(#20066,#20023)
#20067=*
tokeninfo(#20067,8,#20001,9,"{")
#20068=@"loc,{#10000},3,16,3,16"
locations_default(#20068,#10000,3,16,3,16)
hasLocation(#20067,#20068)
#20069=*
tokeninfo(#20069,8,#20001,10,"}")
#20070=@"loc,{#10000},3,17,3,17"
locations_default(#20070,#10000,3,17,3,17)
hasLocation(#20069,#20070)
#20071=*
tokeninfo(#20071,7,#20001,11,"export")
#20072=@"loc,{#10000},5,1,5,6"
locations_default(#20072,#10000,5,1,5,6)
hasLocation(#20071,#20072)
#20073=*
tokeninfo(#20073,7,#20001,12,"default")
#20074=@"loc,{#10000},5,8,5,14"
locations_default(#20074,#10000,5,8,5,14)
hasLocation(#20073,#20074)
#20075=*
tokeninfo(#20075,7,#20001,13,"function")
#20076=@"loc,{#10000},5,16,5,23"
locations_default(#20076,#10000,5,16,5,23)
hasLocation(#20075,#20076)
#20077=*
tokeninfo(#20077,6,#20001,14,"f")
hasLocation(#20077,#20037)
#20078=*
tokeninfo(#20078,8,#20001,15,"(")
#20079=@"loc,{#10000},5,26,5,26"
locations_default(#20079,#10000,5,26,5,26)
hasLocation(#20078,#20079)
#20080=*
tokeninfo(#20080,8,#20001,16,")")
#20081=@"loc,{#10000},5,27,5,27"
locations_default(#20081,#10000,5,27,5,27)
hasLocation(#20080,#20081)
#20082=*
tokeninfo(#20082,8,#20001,17,"{")
#20083=@"loc,{#10000},5,29,5,29"
locations_default(#20083,#10000,5,29,5,29)
hasLocation(#20082,#20083)
#20084=*
tokeninfo(#20084,8,#20001,18,"}")
#20085=@"loc,{#10000},5,30,5,30"
locations_default(#20085,#10000,5,30,5,30)
hasLocation(#20084,#20085)
#20086=*
tokeninfo(#20086,8,#20001,19,";")
hasLocation(#20086,#20043)
#20087=*
tokeninfo(#20087,0,#20001,20,"")
#20088=@"loc,{#10000},6,1,6,0"
locations_default(#20088,#10000,6,1,6,0)
hasLocation(#20087,#20088)
#20089=*
entry_cfg_node(#20089,#20001)
#20090=@"loc,{#10000},1,1,1,0"
locations_default(#20090,#10000,1,1,1,0)
hasLocation(#20089,#20090)
#20091=*
exit_cfg_node(#20091,#20001)
hasLocation(#20091,#20088)
successor(#20042,#20091)
successor(#20032,#20034)
successor(#20034,#20042)
#20092=*
entry_cfg_node(#20092,#20034)
#20093=@"loc,{#10000},5,16,5,15"
locations_default(#20093,#10000,5,16,5,15)
hasLocation(#20092,#20093)
#20094=*
exit_cfg_node(#20094,#20034)
#20095=@"loc,{#10000},5,31,5,30"
locations_default(#20095,#10000,5,31,5,30)
hasLocation(#20094,#20095)
successor(#20040,#20094)
successor(#20092,#20040)
successor(#20018,#20022)
successor(#20028,#20025)
#20096=*
entry_cfg_node(#20096,#20028)
hasLocation(#20096,#20026)
#20097=*
exit_cfg_node(#20097,#20028)
hasLocation(#20097,#20026)
successor(#20031,#20097)
successor(#20096,#20031)
successor(#20027,#20028)
successor(#20025,#20020)
successor(#20022,#20027)
successor(#20020,#20032)
successor(#20008,#20010)
successor(#20010,#20014)
successor(#20016,#20012)
successor(#20014,#20016)
successor(#20012,#20018)
successor(#20036,#20008)
successor(#20089,#20036)
numlines(#10000,5,3,0)
filetype(#10000,"typescript")