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

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