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

123 lines
3.5 KiB
Plaintext

#10000=@"/importassign.ts;sourcefile"
files(#10000,"/importassign.ts","importassign","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,2,0"
locations_default(#20002,#10000,1,1,2,0)
hasLocation(#20001,#20002)
#20003=@"module;{#10000},1,1"
scopes(#20003,3)
scopenodes(#20001,#20003)
scopenesting(#20003,#20000)
isModule(#20001)
#20004=@"var;{x};{#20003}"
variables(#20004,"x",#20003)
#20005=@"local_type_name;{x};{#20003}"
local_type_names(#20005,"x",#20003)
#20006=@"local_namespace_name;{x};{#20003}"
local_namespace_names(#20006,"x",#20003)
variables(#20004,"x",#20003)
local_type_names(#20005,"x",#20003)
local_namespace_names(#20006,"x",#20003)
#20007=*
stmts(#20007,32,#20001,0,"import ... sign"");")
#20008=@"loc,{#10000},1,1,1,37"
locations_default(#20008,#10000,1,1,1,37)
hasLocation(#20007,#20008)
stmtContainers(#20007,#20001)
#20009=*
exprs(#20009,78,#20007,0,"x")
#20010=@"loc,{#10000},1,8,1,8"
locations_default(#20010,#10000,1,8,1,8)
hasLocation(#20009,#20010)
enclosingStmt(#20009,#20007)
exprContainers(#20009,#20001)
literals("x","x",#20009)
decl(#20009,#20004)
typedecl(#20009,#20005)
namespacedecl(#20009,#20006)
#20011=*
exprs(#20011,98,#20007,1,"require ... ssign"")")
#20012=@"loc,{#10000},1,12,1,36"
locations_default(#20012,#10000,1,12,1,36)
hasLocation(#20011,#20012)
enclosingStmt(#20011,#20007)
exprContainers(#20011,#20001)
#20013=*
exprs(#20013,4,#20011,0,"""./exportassign""")
#20014=@"loc,{#10000},1,20,1,35"
locations_default(#20014,#10000,1,20,1,35)
hasLocation(#20013,#20014)
enclosingStmt(#20013,#20007)
exprContainers(#20013,#20001)
literals("./exportassign","""./exportassign""",#20013)
#20015=*
lines(#20015,#20001,"import x = require(""./exportassign"");","
")
hasLocation(#20015,#20008)
numlines(#20001,1,1,0)
#20016=*
tokeninfo(#20016,7,#20001,0,"import")
#20017=@"loc,{#10000},1,1,1,6"
locations_default(#20017,#10000,1,1,1,6)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,6,#20001,1,"x")
hasLocation(#20018,#20010)
#20019=*
tokeninfo(#20019,8,#20001,2,"=")
#20020=@"loc,{#10000},1,10,1,10"
locations_default(#20020,#10000,1,10,1,10)
hasLocation(#20019,#20020)
#20021=*
tokeninfo(#20021,7,#20001,3,"require")
#20022=@"loc,{#10000},1,12,1,18"
locations_default(#20022,#10000,1,12,1,18)
hasLocation(#20021,#20022)
#20023=*
tokeninfo(#20023,8,#20001,4,"(")
#20024=@"loc,{#10000},1,19,1,19"
locations_default(#20024,#10000,1,19,1,19)
hasLocation(#20023,#20024)
#20025=*
tokeninfo(#20025,4,#20001,5,"""./exportassign""")
hasLocation(#20025,#20014)
#20026=*
tokeninfo(#20026,8,#20001,6,")")
#20027=@"loc,{#10000},1,36,1,36"
locations_default(#20027,#10000,1,36,1,36)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,8,#20001,7,";")
#20029=@"loc,{#10000},1,37,1,37"
locations_default(#20029,#10000,1,37,1,37)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,0,#20001,8,"")
#20031=@"loc,{#10000},2,1,2,0"
locations_default(#20031,#10000,2,1,2,0)
hasLocation(#20030,#20031)
#20032=*
entry_cfg_node(#20032,#20001)
#20033=@"loc,{#10000},1,1,1,0"
locations_default(#20033,#10000,1,1,1,0)
hasLocation(#20032,#20033)
#20034=*
exit_cfg_node(#20034,#20001)
hasLocation(#20034,#20031)
successor(#20013,#20011)
successor(#20011,#20007)
successor(#20009,#20013)
successor(#20007,#20034)
successor(#20032,#20009)
numlines(#10000,1,1,0)
filetype(#10000,"typescript")