Files
codeql/javascript/extractor/tests/node/output/trap/tst.html.trap
2021-01-18 12:19:09 +00:00

122 lines
3.4 KiB
Plaintext

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