Files
codeql/javascript/extractor/tests/shebang/output/trap/tst.html.trap
2021-11-29 13:51:25 +01:00

69 lines
1.9 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},3,17"
toplevels(#20002,1)
#20003=@"loc,{#10000},3,17,3,17"
locations_default(#20003,#10000,3,17,3,17)
hasLocation(#20002,#20003)
#20004=*
js_parse_errors(#20004,#20002,"Error: Unexpected token","#!/usr/bin/node
")
#20005=@"loc,{#10000},4,2,4,2"
locations_default(#20005,#10000,4,2,4,2)
hasLocation(#20004,#20005)
#20006=*
lines(#20006,#20002,"","
")
#20007=@"loc,{#10000},3,17,3,16"
locations_default(#20007,#10000,3,17,3,16)
hasLocation(#20006,#20007)
#20008=*
lines(#20008,#20002,"#!/usr/bin/node","
")
#20009=@"loc,{#10000},4,1,4,15"
locations_default(#20009,#10000,4,1,4,15)
hasLocation(#20008,#20009)
#20010=*
lines(#20010,#20002,"// shebang in HTML is not OK","
")
#20011=@"loc,{#10000},5,1,5,28"
locations_default(#20011,#10000,5,1,5,28)
hasLocation(#20010,#20011)
#20012=*
lines(#20012,#20002," ","")
#20013=@"loc,{#10000},6,1,6,8"
locations_default(#20013,#10000,6,1,6,8)
hasLocation(#20012,#20013)
numlines(#20002,4,0,0)
toplevel_parent_xml_node(#20002,#20001)
#20014=*
xmlElements(#20014,"html",#10000,0,#10000)
#20015=@"loc,{#10000},1,1,10,7"
locations_default(#20015,#10000,1,1,10,7)
xmllocations(#20014,#20015)
#20016=*
xmlElements(#20016,"body",#20014,1,#10000)
#20017=@"loc,{#10000},8,5,9,11"
locations_default(#20017,#10000,8,5,9,11)
xmllocations(#20016,#20017)
#20018=*
xmlElements(#20018,"head",#20014,0,#10000)
#20019=@"loc,{#10000},2,5,7,11"
locations_default(#20019,#10000,2,5,7,11)
xmllocations(#20018,#20019)
xmlElements(#20001,"script",#20018,0,#10000)
#20020=@"loc,{#10000},3,9,6,17"
locations_default(#20020,#10000,3,9,6,17)
xmllocations(#20001,#20020)
numlines(#10000,10,0,0)
filetype(#10000,"html")