scripts.tokens.json
2.46 KB
{"type":"tag","loc":{"start":{"line":1,"column":1},"filename":"/cases/scripts.pug","end":{"line":1,"column":7}},"val":"script"}
{"type":"dot","loc":{"start":{"line":1,"column":7},"filename":"/cases/scripts.pug","end":{"line":1,"column":8}}}
{"type":"start-pipeless-text","loc":{"start":{"line":1,"column":8},"filename":"/cases/scripts.pug","end":{"line":1,"column":8}}}
{"type":"text","loc":{"start":{"line":2,"column":3},"filename":"/cases/scripts.pug","end":{"line":2,"column":13}},"val":"if (foo) {"}
{"type":"newline","loc":{"start":{"line":3,"column":1},"filename":"/cases/scripts.pug","end":{"line":3,"column":3}}}
{"type":"text","loc":{"start":{"line":3,"column":3},"filename":"/cases/scripts.pug","end":{"line":3,"column":11}},"val":" bar();"}
{"type":"newline","loc":{"start":{"line":4,"column":1},"filename":"/cases/scripts.pug","end":{"line":4,"column":3}}}
{"type":"text","loc":{"start":{"line":4,"column":3},"filename":"/cases/scripts.pug","end":{"line":4,"column":4}},"val":"}"}
{"type":"end-pipeless-text","loc":{"start":{"line":4,"column":4},"filename":"/cases/scripts.pug","end":{"line":4,"column":4}}}
{"type":"newline","loc":{"start":{"line":5,"column":1},"filename":"/cases/scripts.pug","end":{"line":5,"column":1}}}
{"type":"tag","loc":{"start":{"line":5,"column":1},"filename":"/cases/scripts.pug","end":{"line":5,"column":7}},"val":"script"}
{"type":"code","loc":{"start":{"line":5,"column":7},"filename":"/cases/scripts.pug","end":{"line":5,"column":17}},"val":"'foo()'","mustEscape":false,"buffer":true}
{"type":"newline","loc":{"start":{"line":6,"column":1},"filename":"/cases/scripts.pug","end":{"line":6,"column":1}}}
{"type":"tag","loc":{"start":{"line":6,"column":1},"filename":"/cases/scripts.pug","end":{"line":6,"column":7}},"val":"script"}
{"type":"text","loc":{"start":{"line":6,"column":8},"filename":"/cases/scripts.pug","end":{"line":6,"column":13}},"val":"foo()"}
{"type":"newline","loc":{"start":{"line":7,"column":1},"filename":"/cases/scripts.pug","end":{"line":7,"column":1}}}
{"type":"tag","loc":{"start":{"line":7,"column":1},"filename":"/cases/scripts.pug","end":{"line":7,"column":7}},"val":"script"}
{"type":"newline","loc":{"start":{"line":8,"column":1},"filename":"/cases/scripts.pug","end":{"line":8,"column":1}}}
{"type":"tag","loc":{"start":{"line":8,"column":1},"filename":"/cases/scripts.pug","end":{"line":8,"column":4}},"val":"div"}
{"type":"eos","loc":{"start":{"line":8,"column":4},"filename":"/cases/scripts.pug","end":{"line":8,"column":4}}}