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

112 lines
3.0 KiB
Plaintext

#10000=@"/declareClass.ts;sourcefile"
files(#10000,"/declareClass.ts","declareClass","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=*
stmts(#20003,26,#20001,0,"declare class C {}")
#20004=@"loc,{#10000},1,1,1,18"
locations_default(#20004,#10000,1,1,1,18)
hasLocation(#20003,#20004)
stmtContainers(#20003,#20001)
hasDeclareKeyword(#20003)
#20005=*
exprs(#20005,78,#20003,0,"C")
#20006=@"loc,{#10000},1,15,1,15"
locations_default(#20006,#10000,1,15,1,15)
hasLocation(#20005,#20006)
enclosingStmt(#20005,#20003)
exprContainers(#20005,#20001)
literals("C","C",#20005)
#20007=@"var;{C};{#20000}"
variables(#20007,"C",#20000)
decl(#20005,#20007)
#20008=*
scopes(#20008,10)
scopenodes(#20003,#20008)
scopenesting(#20008,#20000)
#20009=*
properties(#20009,#20003,2,0,"constructor() {}")
#20010=@"loc,{#10000},1,17,1,16"
locations_default(#20010,#10000,1,17,1,16)
hasLocation(#20009,#20010)
#20011=*
exprs(#20011,0,#20009,0,"constructor")
hasLocation(#20011,#20010)
enclosingStmt(#20011,#20003)
exprContainers(#20011,#20001)
literals("constructor","constructor",#20011)
#20012=*
exprs(#20012,9,#20009,1,"() {}")
hasLocation(#20012,#20010)
enclosingStmt(#20012,#20003)
exprContainers(#20012,#20001)
#20013=*
scopes(#20013,1)
scopenodes(#20012,#20013)
scopenesting(#20013,#20008)
#20014=@"var;{arguments};{#20013}"
variables(#20014,"arguments",#20013)
isArgumentsObject(#20014)
#20015=*
stmts(#20015,1,#20012,-2,"{}")
hasLocation(#20015,#20010)
stmtContainers(#20015,#20012)
numlines(#20012,1,0,0)
isMethod(#20009)
#20016=*
lines(#20016,#20001,"declare class C {}","
")
hasLocation(#20016,#20004)
numlines(#20001,1,1,0)
#20017=*
tokeninfo(#20017,7,#20001,0,"declare")
#20018=@"loc,{#10000},1,1,1,7"
locations_default(#20018,#10000,1,1,1,7)
hasLocation(#20017,#20018)
#20019=*
tokeninfo(#20019,7,#20001,1,"class")
#20020=@"loc,{#10000},1,9,1,13"
locations_default(#20020,#10000,1,9,1,13)
hasLocation(#20019,#20020)
#20021=*
tokeninfo(#20021,6,#20001,2,"C")
hasLocation(#20021,#20006)
#20022=*
tokeninfo(#20022,8,#20001,3,"{")
#20023=@"loc,{#10000},1,17,1,17"
locations_default(#20023,#10000,1,17,1,17)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,8,#20001,4,"}")
#20025=@"loc,{#10000},1,18,1,18"
locations_default(#20025,#10000,1,18,1,18)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,0,#20001,5,"")
#20027=@"loc,{#10000},2,1,2,0"
locations_default(#20027,#10000,2,1,2,0)
hasLocation(#20026,#20027)
#20028=*
entry_cfg_node(#20028,#20001)
#20029=@"loc,{#10000},1,1,1,0"
locations_default(#20029,#10000,1,1,1,0)
hasLocation(#20028,#20029)
#20030=*
exit_cfg_node(#20030,#20001)
hasLocation(#20030,#20027)
successor(#20003,#20030)
successor(#20028,#20003)
numlines(#10000,1,1,0)
filetype(#10000,"typescript")