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

382 lines
11 KiB
Plaintext

#10000=@"/tst2.html;sourcefile"
files(#10000,"/tst2.html")
#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=*
#20002=@"script;{#10000},2,31"
#20003=*
lines(#20003,#20002,"var hello;","")
#20004=@"loc,{#10000},2,31,2,40"
locations_default(#20004,#10000,2,31,2,40)
hasLocation(#20003,#20004)
numlines(#20002,1,1,0)
#20005=*
tokeninfo(#20005,7,#20002,0,"var")
#20006=@"loc,{#10000},2,31,2,33"
locations_default(#20006,#10000,2,31,2,33)
hasLocation(#20005,#20006)
#20007=*
tokeninfo(#20007,6,#20002,1,"hello")
#20008=@"loc,{#10000},2,35,2,39"
locations_default(#20008,#10000,2,35,2,39)
hasLocation(#20007,#20008)
#20009=*
tokeninfo(#20009,8,#20002,2,";")
#20010=@"loc,{#10000},2,40,2,40"
locations_default(#20010,#10000,2,40,2,40)
hasLocation(#20009,#20010)
#20011=*
tokeninfo(#20011,0,#20002,3,"")
#20012=@"loc,{#10000},2,41,2,40"
locations_default(#20012,#10000,2,41,2,40)
hasLocation(#20011,#20012)
toplevels(#20002,1)
hasLocation(#20002,#20004)
#20013=@"var;{hello};{#20000}"
variables(#20013,"hello",#20000)
#20014=@"var;{this};{#20000}"
variables(#20014,"this",#20000)
#20015=*
stmts(#20015,18,#20002,0,"var hello;")
hasLocation(#20015,#20004)
stmt_containers(#20015,#20002)
#20016=*
exprs(#20016,64,#20015,0,"hello")
hasLocation(#20016,#20008)
enclosing_stmt(#20016,#20015)
expr_containers(#20016,#20002)
#20017=*
exprs(#20017,78,#20016,0,"hello")
hasLocation(#20017,#20008)
enclosing_stmt(#20017,#20015)
expr_containers(#20017,#20002)
literals("hello","hello",#20017)
decl(#20017,#20013)
#20018=*
entry_cfg_node(#20018,#20002)
#20019=@"loc,{#10000},2,31,2,30"
locations_default(#20019,#10000,2,31,2,30)
hasLocation(#20018,#20019)
#20020=*
exit_cfg_node(#20020,#20002)
hasLocation(#20020,#20012)
successor(#20015,#20017)
successor(#20017,#20016)
successor(#20016,#20020)
successor(#20018,#20015)
toplevel_parent_xml_node(#20002,#20001)
#20021=*
#20022=@"script;{#10000},3,29"
#20023=*
lines(#20023,#20022,"var world;","")
#20024=@"loc,{#10000},3,29,3,38"
locations_default(#20024,#10000,3,29,3,38)
hasLocation(#20023,#20024)
numlines(#20022,1,1,0)
#20025=*
tokeninfo(#20025,7,#20022,0,"var")
#20026=@"loc,{#10000},3,29,3,31"
locations_default(#20026,#10000,3,29,3,31)
hasLocation(#20025,#20026)
#20027=*
tokeninfo(#20027,6,#20022,1,"world")
#20028=@"loc,{#10000},3,33,3,37"
locations_default(#20028,#10000,3,33,3,37)
hasLocation(#20027,#20028)
#20029=*
tokeninfo(#20029,8,#20022,2,";")
#20030=@"loc,{#10000},3,38,3,38"
locations_default(#20030,#10000,3,38,3,38)
hasLocation(#20029,#20030)
#20031=*
tokeninfo(#20031,0,#20022,3,"")
#20032=@"loc,{#10000},3,39,3,38"
locations_default(#20032,#10000,3,39,3,38)
hasLocation(#20031,#20032)
toplevels(#20022,1)
hasLocation(#20022,#20024)
#20033=@"var;{world};{#20000}"
variables(#20033,"world",#20000)
variables(#20014,"this",#20000)
#20034=*
stmts(#20034,18,#20022,0,"var world;")
hasLocation(#20034,#20024)
stmt_containers(#20034,#20022)
#20035=*
exprs(#20035,64,#20034,0,"world")
hasLocation(#20035,#20028)
enclosing_stmt(#20035,#20034)
expr_containers(#20035,#20022)
#20036=*
exprs(#20036,78,#20035,0,"world")
hasLocation(#20036,#20028)
enclosing_stmt(#20036,#20034)
expr_containers(#20036,#20022)
literals("world","world",#20036)
decl(#20036,#20033)
#20037=*
entry_cfg_node(#20037,#20022)
#20038=@"loc,{#10000},3,29,3,28"
locations_default(#20038,#10000,3,29,3,28)
hasLocation(#20037,#20038)
#20039=*
exit_cfg_node(#20039,#20022)
hasLocation(#20039,#20032)
successor(#20034,#20036)
successor(#20036,#20035)
successor(#20035,#20039)
successor(#20037,#20034)
toplevel_parent_xml_node(#20022,#20021)
#20040=*
#20041=@"script;{#10000},4,75"
#20042=*
lines(#20042,#20041,"","
")
#20043=@"loc,{#10000},4,75,4,74"
locations_default(#20043,#10000,4,75,4,74)
hasLocation(#20042,#20043)
#20044=*
lines(#20044,#20041," var inAModule;","
")
#20045=@"loc,{#10000},5,1,5,20"
locations_default(#20045,#10000,5,1,5,20)
hasLocation(#20044,#20045)
indentation(#10000,5," ",6)
#20046=*
lines(#20046,#20041," ","")
#20047=@"loc,{#10000},6,1,6,4"
locations_default(#20047,#10000,6,1,6,4)
hasLocation(#20046,#20047)
numlines(#20041,3,1,0)
#20048=*
tokeninfo(#20048,7,#20041,0,"var")
#20049=@"loc,{#10000},5,7,5,9"
locations_default(#20049,#10000,5,7,5,9)
hasLocation(#20048,#20049)
#20050=*
tokeninfo(#20050,6,#20041,1,"inAModule")
#20051=@"loc,{#10000},5,11,5,19"
locations_default(#20051,#10000,5,11,5,19)
hasLocation(#20050,#20051)
#20052=*
tokeninfo(#20052,8,#20041,2,";")
#20053=@"loc,{#10000},5,20,5,20"
locations_default(#20053,#10000,5,20,5,20)
hasLocation(#20052,#20053)
#20054=*
tokeninfo(#20054,0,#20041,3,"")
#20055=@"loc,{#10000},6,5,6,4"
locations_default(#20055,#10000,6,5,6,4)
hasLocation(#20054,#20055)
toplevels(#20041,1)
#20056=@"loc,{#10000},4,75,6,4"
locations_default(#20056,#10000,4,75,6,4)
hasLocation(#20041,#20056)
#20057=@"module;{#10000},4,75"
scopes(#20057,3)
scopenodes(#20041,#20057)
scopenesting(#20057,#20000)
is_module(#20041)
is_es2015_module(#20041)
#20058=@"var;{inAModule};{#20057}"
variables(#20058,"inAModule",#20057)
#20059=@"var;{this};{#20057}"
variables(#20059,"this",#20057)
#20060=*
stmts(#20060,18,#20041,0,"var inAModule;")
#20061=@"loc,{#10000},5,7,5,20"
locations_default(#20061,#10000,5,7,5,20)
hasLocation(#20060,#20061)
stmt_containers(#20060,#20041)
#20062=*
exprs(#20062,64,#20060,0,"inAModule")
hasLocation(#20062,#20051)
enclosing_stmt(#20062,#20060)
expr_containers(#20062,#20041)
#20063=*
exprs(#20063,78,#20062,0,"inAModule")
hasLocation(#20063,#20051)
enclosing_stmt(#20063,#20060)
expr_containers(#20063,#20041)
literals("inAModule","inAModule",#20063)
decl(#20063,#20058)
#20064=*
entry_cfg_node(#20064,#20041)
hasLocation(#20064,#20043)
#20065=*
exit_cfg_node(#20065,#20041)
hasLocation(#20065,#20055)
successor(#20060,#20063)
successor(#20063,#20062)
successor(#20062,#20065)
successor(#20064,#20060)
toplevel_parent_xml_node(#20041,#20040)
#20066=*
#20067=@"script;{#10000},7,75"
#20068=*
lines(#20068,#20067,"","
")
#20069=@"loc,{#10000},7,75,7,74"
locations_default(#20069,#10000,7,75,7,74)
hasLocation(#20068,#20069)
#20070=*
lines(#20070,#20067," import f from ""f""","
")
#20071=@"loc,{#10000},8,1,8,23"
locations_default(#20071,#10000,8,1,8,23)
hasLocation(#20070,#20071)
indentation(#10000,8," ",6)
#20072=*
lines(#20072,#20067," ","")
#20073=@"loc,{#10000},9,1,9,4"
locations_default(#20073,#10000,9,1,9,4)
hasLocation(#20072,#20073)
numlines(#20067,3,1,0)
#20074=*
tokeninfo(#20074,7,#20067,0,"import")
#20075=@"loc,{#10000},8,7,8,12"
locations_default(#20075,#10000,8,7,8,12)
hasLocation(#20074,#20075)
#20076=*
tokeninfo(#20076,6,#20067,1,"f")
#20077=@"loc,{#10000},8,14,8,14"
locations_default(#20077,#10000,8,14,8,14)
hasLocation(#20076,#20077)
#20078=*
tokeninfo(#20078,6,#20067,2,"from")
#20079=@"loc,{#10000},8,16,8,19"
locations_default(#20079,#10000,8,16,8,19)
hasLocation(#20078,#20079)
#20080=*
tokeninfo(#20080,4,#20067,3,"""f""")
#20081=@"loc,{#10000},8,21,8,23"
locations_default(#20081,#10000,8,21,8,23)
hasLocation(#20080,#20081)
#20082=*
tokeninfo(#20082,0,#20067,4,"")
#20083=@"loc,{#10000},9,5,9,4"
locations_default(#20083,#10000,9,5,9,4)
hasLocation(#20082,#20083)
toplevels(#20067,1)
#20084=@"loc,{#10000},7,75,9,4"
locations_default(#20084,#10000,7,75,9,4)
hasLocation(#20067,#20084)
#20085=@"module;{#10000},7,75"
scopes(#20085,3)
scopenodes(#20067,#20085)
scopenesting(#20085,#20000)
is_module(#20067)
is_es2015_module(#20067)
#20086=@"var;{f};{#20085}"
variables(#20086,"f",#20085)
#20087=@"local_type_name;{f};{#20085}"
local_type_names(#20087,"f",#20085)
#20088=@"local_namespace_name;{f};{#20085}"
local_namespace_names(#20088,"f",#20085)
variables(#20086,"f",#20085)
local_type_names(#20087,"f",#20085)
local_namespace_names(#20088,"f",#20085)
#20089=@"var;{this};{#20085}"
variables(#20089,"this",#20085)
#20090=*
stmts(#20090,27,#20067,0,"import f from ""f""")
#20091=@"loc,{#10000},8,7,8,23"
locations_default(#20091,#10000,8,7,8,23)
hasLocation(#20090,#20091)
stmt_containers(#20090,#20067)
#20092=*
exprs(#20092,4,#20090,-1,"""f""")
hasLocation(#20092,#20081)
enclosing_stmt(#20092,#20090)
expr_containers(#20092,#20067)
literals("f","""f""",#20092)
#20093=*
regexpterm(#20093,14,#20092,0,"f")
#20094=@"loc,{#10000},8,22,8,22"
locations_default(#20094,#10000,8,22,8,22)
hasLocation(#20093,#20094)
regexp_const_value(#20093,"f")
#20095=*
exprs(#20095,84,#20090,0,"f")
hasLocation(#20095,#20077)
enclosing_stmt(#20095,#20090)
expr_containers(#20095,#20067)
#20096=*
exprs(#20096,78,#20095,1,"f")
hasLocation(#20096,#20077)
enclosing_stmt(#20096,#20090)
expr_containers(#20096,#20067)
literals("f","f",#20096)
decl(#20096,#20086)
typedecl(#20096,#20087)
namespacedecl(#20096,#20088)
#20097=*
entry_cfg_node(#20097,#20067)
hasLocation(#20097,#20069)
#20098=*
exit_cfg_node(#20098,#20067)
hasLocation(#20098,#20083)
successor(#20090,#20098)
successor(#20095,#20090)
successor(#20097,#20095)
toplevel_parent_xml_node(#20067,#20066)
#20099=*
xmlElements(#20099,"html",#10000,0,#10000)
#20100=@"loc,{#10000},1,1,10,7"
locations_default(#20100,#10000,1,1,10,7)
xmllocations(#20099,#20100)
xmlElements(#20066,"script",#20099,3,#10000)
#20101=@"loc,{#10000},7,5,9,13"
locations_default(#20101,#10000,7,5,9,13)
xmllocations(#20066,#20101)
#20102=*
xmlAttrs(#20102,#20066,"type","text/babel",0,#10000)
#20103=@"loc,{#10000},7,13,7,29"
locations_default(#20103,#10000,7,13,7,29)
xmllocations(#20102,#20103)
#20104=*
xmlAttrs(#20104,#20066,"data-plugins","transform-es2015-modules-umd",1,#10000)
#20105=@"loc,{#10000},7,31,7,73"
locations_default(#20105,#10000,7,31,7,73)
xmllocations(#20104,#20105)
xmlElements(#20040,"script",#20099,2,#10000)
#20106=@"loc,{#10000},4,5,6,13"
locations_default(#20106,#10000,4,5,6,13)
xmllocations(#20040,#20106)
#20107=*
xmlAttrs(#20107,#20040,"type","text/babel",0,#10000)
#20108=@"loc,{#10000},4,13,4,29"
locations_default(#20108,#10000,4,13,4,29)
xmllocations(#20107,#20108)
#20109=*
xmlAttrs(#20109,#20040,"data-plugins","transform-es2015-modules-umd",1,#10000)
#20110=@"loc,{#10000},4,31,4,73"
locations_default(#20110,#10000,4,31,4,73)
xmllocations(#20109,#20110)
xmlElements(#20021,"script",#20099,1,#10000)
#20111=@"loc,{#10000},3,5,3,47"
locations_default(#20111,#10000,3,5,3,47)
xmllocations(#20021,#20111)
#20112=*
xmlAttrs(#20112,#20021,"type","text/jsx",0,#10000)
#20113=@"loc,{#10000},3,13,3,27"
locations_default(#20113,#10000,3,13,3,27)
xmllocations(#20112,#20113)
xmlElements(#20001,"script",#20099,0,#10000)
#20114=@"loc,{#10000},2,5,2,49"
locations_default(#20114,#10000,2,5,2,49)
xmllocations(#20001,#20114)
#20115=*
xmlAttrs(#20115,#20001,"type","text/babel",0,#10000)
#20116=@"loc,{#10000},2,13,2,29"
locations_default(#20116,#10000,2,13,2,29)
xmllocations(#20115,#20116)
numlines(#10000,10,4,0)
filetype(#10000,"html")