Files
codeql/javascript/extractor/tests/ts/output/trap/declareClass.ts.trap
2025-05-20 13:20:36 +02:00

114 lines
3.0 KiB
Plaintext

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