Files
codeql/javascript/extractor/tests/node/output/trap/tst.html.trap
2021-09-14 10:25:42 +02:00

122 lines
3.4 KiB
Plaintext

#10000=@"/tst.html;sourcefile"
files(#10000,"/tst.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},6,13"
#20003=*
lines(#20003,#20002,"var x = 42;","")
#20004=@"loc,{#10000},6,13,6,23"
locations_default(#20004,#10000,6,13,6,23)
hasLocation(#20003,#20004)
numlines(#20002,1,1,0)
#20005=*
tokeninfo(#20005,7,#20002,0,"var")
#20006=@"loc,{#10000},6,13,6,15"
locations_default(#20006,#10000,6,13,6,15)
hasLocation(#20005,#20006)
#20007=*
tokeninfo(#20007,6,#20002,1,"x")
#20008=@"loc,{#10000},6,17,6,17"
locations_default(#20008,#10000,6,17,6,17)
hasLocation(#20007,#20008)
#20009=*
tokeninfo(#20009,8,#20002,2,"=")
#20010=@"loc,{#10000},6,19,6,19"
locations_default(#20010,#10000,6,19,6,19)
hasLocation(#20009,#20010)
#20011=*
tokeninfo(#20011,3,#20002,3,"42")
#20012=@"loc,{#10000},6,21,6,22"
locations_default(#20012,#10000,6,21,6,22)
hasLocation(#20011,#20012)
#20013=*
tokeninfo(#20013,8,#20002,4,";")
#20014=@"loc,{#10000},6,23,6,23"
locations_default(#20014,#10000,6,23,6,23)
hasLocation(#20013,#20014)
#20015=*
tokeninfo(#20015,0,#20002,5,"")
#20016=@"loc,{#10000},6,24,6,23"
locations_default(#20016,#10000,6,24,6,23)
hasLocation(#20015,#20016)
toplevels(#20002,2)
hasLocation(#20002,#20004)
#20017=@"var;{x};{#20000}"
variables(#20017,"x",#20000)
#20018=*
stmts(#20018,18,#20002,0,"var x = 42;")
hasLocation(#20018,#20004)
stmt_containers(#20018,#20002)
#20019=*
exprs(#20019,64,#20018,0,"x = 42")
#20020=@"loc,{#10000},6,17,6,22"
locations_default(#20020,#10000,6,17,6,22)
hasLocation(#20019,#20020)
enclosing_stmt(#20019,#20018)
expr_containers(#20019,#20002)
#20021=*
exprs(#20021,78,#20019,0,"x")
hasLocation(#20021,#20008)
enclosing_stmt(#20021,#20018)
expr_containers(#20021,#20002)
literals("x","x",#20021)
decl(#20021,#20017)
#20022=*
exprs(#20022,3,#20019,1,"42")
hasLocation(#20022,#20012)
enclosing_stmt(#20022,#20018)
expr_containers(#20022,#20002)
literals("42","42",#20022)
#20023=*
entry_cfg_node(#20023,#20002)
#20024=@"loc,{#10000},6,13,6,12"
locations_default(#20024,#10000,6,13,6,12)
hasLocation(#20023,#20024)
#20025=*
exit_cfg_node(#20025,#20002)
hasLocation(#20025,#20016)
successor(#20018,#20021)
successor(#20022,#20019)
successor(#20021,#20022)
successor(#20019,#20025)
successor(#20023,#20018)
toplevel_parent_xml_node(#20002,#20001)
#20026=*
xmlElements(#20026,"html",#10000,0,#10000)
#20027=@"loc,{#10000},1,1,8,7"
locations_default(#20027,#10000,1,1,8,7)
xmllocations(#20026,#20027)
#20028=*
xmlElements(#20028,"body",#20026,1,#10000)
#20029=@"loc,{#10000},5,1,7,7"
locations_default(#20029,#10000,5,1,7,7)
xmllocations(#20028,#20029)
#20030=*
xmlElements(#20030,"a",#20028,0,#10000)
#20031=@"loc,{#10000},6,1,6,29"
locations_default(#20031,#10000,6,1,6,29)
xmllocations(#20030,#20031)
xmlAttrs(#20001,#20030,"onclick","var x = 42;",0,#10000)
#20032=@"loc,{#10000},6,4,6,24"
locations_default(#20032,#10000,6,4,6,24)
xmllocations(#20001,#20032)
#20033=*
xmlElements(#20033,"head",#20026,0,#10000)
#20034=@"loc,{#10000},2,1,4,7"
locations_default(#20034,#10000,2,1,4,7)
xmllocations(#20033,#20034)
#20035=*
xmlElements(#20035,"title",#20033,0,#10000)
#20036=@"loc,{#10000},3,1,3,15"
locations_default(#20036,#10000,3,1,3,15)
xmllocations(#20035,#20036)
numlines(#10000,8,1,0)
filetype(#10000,"html")