Files
codeql/javascript/extractor/tests/ts/output/trap/templates.ts.trap
2026-02-27 14:15:34 +01:00

145 lines
4.0 KiB
Plaintext

#10000=@"/templates.ts;sourcefile"
files(#10000,"/templates.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,"`url(""${ctx.expected.image}"")`","
")
#20003=@"loc,{#10000},1,1,1,30"
locations_default(#20003,#10000,1,1,1,30)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,4,#20001,0,"`url(""${")
#20005=@"loc,{#10000},1,1,1,8"
locations_default(#20005,#10000,1,1,1,8)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,6,#20001,1,"ctx")
#20007=@"loc,{#10000},1,9,1,11"
locations_default(#20007,#10000,1,9,1,11)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,8,#20001,2,".")
#20009=@"loc,{#10000},1,12,1,12"
locations_default(#20009,#10000,1,12,1,12)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,6,#20001,3,"expected")
#20011=@"loc,{#10000},1,13,1,20"
locations_default(#20011,#10000,1,13,1,20)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,8,#20001,4,".")
#20013=@"loc,{#10000},1,21,1,21"
locations_default(#20013,#10000,1,21,1,21)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,6,#20001,5,"image")
#20015=@"loc,{#10000},1,22,1,26"
locations_default(#20015,#10000,1,22,1,26)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,6,"}"")`")
#20017=@"loc,{#10000},1,27,1,30"
locations_default(#20017,#10000,1,27,1,30)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,0,#20001,7,"")
#20019=@"loc,{#10000},2,1,2,0"
locations_default(#20019,#10000,2,1,2,0)
hasLocation(#20018,#20019)
toplevels(#20001,0)
#20020=@"loc,{#10000},1,1,2,0"
locations_default(#20020,#10000,1,1,2,0)
hasLocation(#20001,#20020)
#20021=@"var;{this};{#20000}"
variables(#20021,"this",#20000)
#20022=*
stmts(#20022,2,#20001,0,"`url(""$ ... age}"")`")
hasLocation(#20022,#20003)
stmt_containers(#20022,#20001)
#20023=*
exprs(#20023,71,#20022,0,"`url(""$ ... age}"")`")
hasLocation(#20023,#20003)
enclosing_stmt(#20023,#20022)
expr_containers(#20023,#20001)
#20024=*
exprs(#20024,72,#20023,0,"url(""")
#20025=@"loc,{#10000},1,2,1,6"
locations_default(#20025,#10000,1,2,1,6)
hasLocation(#20024,#20025)
enclosing_stmt(#20024,#20022)
expr_containers(#20024,#20001)
literals("url(""","url(""",#20024)
#20026=*
exprs(#20026,14,#20023,1,"ctx.expected.image")
#20027=@"loc,{#10000},1,9,1,26"
locations_default(#20027,#10000,1,9,1,26)
hasLocation(#20026,#20027)
enclosing_stmt(#20026,#20022)
expr_containers(#20026,#20001)
#20028=*
exprs(#20028,14,#20026,0,"ctx.expected")
#20029=@"loc,{#10000},1,9,1,20"
locations_default(#20029,#10000,1,9,1,20)
hasLocation(#20028,#20029)
enclosing_stmt(#20028,#20022)
expr_containers(#20028,#20001)
#20030=*
exprs(#20030,79,#20028,0,"ctx")
hasLocation(#20030,#20007)
enclosing_stmt(#20030,#20022)
expr_containers(#20030,#20001)
literals("ctx","ctx",#20030)
#20031=@"var;{ctx};{#20000}"
variables(#20031,"ctx",#20000)
bind(#20030,#20031)
#20032=*
exprs(#20032,0,#20028,1,"expected")
hasLocation(#20032,#20011)
enclosing_stmt(#20032,#20022)
expr_containers(#20032,#20001)
literals("expected","expected",#20032)
#20033=*
exprs(#20033,0,#20026,1,"image")
hasLocation(#20033,#20015)
enclosing_stmt(#20033,#20022)
expr_containers(#20033,#20001)
literals("image","image",#20033)
#20034=*
exprs(#20034,72,#20023,2,""")")
#20035=@"loc,{#10000},1,28,1,29"
locations_default(#20035,#10000,1,28,1,29)
hasLocation(#20034,#20035)
enclosing_stmt(#20034,#20022)
expr_containers(#20034,#20001)
literals(""")",""")",#20034)
#20036=*
entry_cfg_node(#20036,#20001)
#20037=@"loc,{#10000},1,1,1,0"
locations_default(#20037,#10000,1,1,1,0)
hasLocation(#20036,#20037)
#20038=*
exit_cfg_node(#20038,#20001)
hasLocation(#20038,#20019)
successor(#20022,#20023)
successor(#20023,#20024)
successor(#20034,#20038)
successor(#20033,#20026)
successor(#20032,#20028)
successor(#20030,#20032)
successor(#20028,#20033)
successor(#20026,#20034)
successor(#20024,#20030)
successor(#20036,#20022)
numlines(#10000,1,1,0)
filetype(#10000,"typescript")