Files
codeql/javascript/extractor/tests/node/output/trap/tst.html.trap
2020-09-04 11:51:49 +02:00

121 lines
3.3 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=*
xmlElements(#20025,"html",#10000,0,#10000)
#20026=@"loc,{#10000},1,1,8,7"
locations_default(#20026,#10000,1,1,8,7)
xmllocations(#20025,#20026)
#20027=*
xmlElements(#20027,"head",#20025,0,#10000)
#20028=@"loc,{#10000},2,1,4,7"
locations_default(#20028,#10000,2,1,4,7)
xmllocations(#20027,#20028)
#20029=*
xmlElements(#20029,"body",#20025,1,#10000)
#20030=@"loc,{#10000},5,1,7,7"
locations_default(#20030,#10000,5,1,7,7)
xmllocations(#20029,#20030)
#20031=*
xmlElements(#20031,"title",#20027,0,#10000)
#20032=@"loc,{#10000},3,1,3,15"
locations_default(#20032,#10000,3,1,3,15)
xmllocations(#20031,#20032)
#20033=*
xmlElements(#20033,"a",#20029,0,#10000)
#20034=@"loc,{#10000},6,1,6,29"
locations_default(#20034,#10000,6,1,6,29)
xmllocations(#20033,#20034)
#20035=*
xmlAttrs(#20035,#20033,"onclick","var x = 42;",0,#10000)
#20036=@"loc,{#10000},6,4,6,24"
locations_default(#20036,#10000,6,4,6,24)
xmllocations(#20035,#20036)
numlines(#10000,8,1,0)
filetype(#10000,"html")