code.tokens.json 5.04 KB
{"type":"tag","loc":{"start":{"line":1,"column":1},"filename":"/cases/code.pug","end":{"line":1,"column":2}},"val":"p"}
{"type":"code","loc":{"start":{"line":1,"column":2},"filename":"/cases/code.pug","end":{"line":1,"column":8}},"val":"null","mustEscape":true,"buffer":true}
{"type":"newline","loc":{"start":{"line":2,"column":1},"filename":"/cases/code.pug","end":{"line":2,"column":1}}}
{"type":"tag","loc":{"start":{"line":2,"column":1},"filename":"/cases/code.pug","end":{"line":2,"column":2}},"val":"p"}
{"type":"code","loc":{"start":{"line":2,"column":2},"filename":"/cases/code.pug","end":{"line":2,"column":13}},"val":"undefined","mustEscape":true,"buffer":true}
{"type":"newline","loc":{"start":{"line":3,"column":1},"filename":"/cases/code.pug","end":{"line":3,"column":1}}}
{"type":"tag","loc":{"start":{"line":3,"column":1},"filename":"/cases/code.pug","end":{"line":3,"column":2}},"val":"p"}
{"type":"code","loc":{"start":{"line":3,"column":2},"filename":"/cases/code.pug","end":{"line":3,"column":6}},"val":"''","mustEscape":true,"buffer":true}
{"type":"newline","loc":{"start":{"line":4,"column":1},"filename":"/cases/code.pug","end":{"line":4,"column":1}}}
{"type":"tag","loc":{"start":{"line":4,"column":1},"filename":"/cases/code.pug","end":{"line":4,"column":2}},"val":"p"}
{"type":"code","loc":{"start":{"line":4,"column":2},"filename":"/cases/code.pug","end":{"line":4,"column":5}},"val":"0","mustEscape":true,"buffer":true}
{"type":"newline","loc":{"start":{"line":5,"column":1},"filename":"/cases/code.pug","end":{"line":5,"column":1}}}
{"type":"tag","loc":{"start":{"line":5,"column":1},"filename":"/cases/code.pug","end":{"line":5,"column":2}},"val":"p"}
{"type":"code","loc":{"start":{"line":5,"column":2},"filename":"/cases/code.pug","end":{"line":5,"column":9}},"val":"false","mustEscape":true,"buffer":true}
{"type":"newline","loc":{"start":{"line":6,"column":1},"filename":"/cases/code.pug","end":{"line":6,"column":1}}}
{"type":"tag","loc":{"start":{"line":6,"column":1},"filename":"/cases/code.pug","end":{"line":6,"column":2}},"val":"p"}
{"type":"start-attributes","loc":{"start":{"line":6,"column":2},"filename":"/cases/code.pug","end":{"line":6,"column":3}}}
{"type":"attribute","loc":{"start":{"line":6,"column":3},"filename":"/cases/code.pug","end":{"line":6,"column":11}},"name":"foo","mustEscape":true,"val":"null"}
{"type":"end-attributes","loc":{"start":{"line":6,"column":11},"filename":"/cases/code.pug","end":{"line":6,"column":12}}}
{"type":"newline","loc":{"start":{"line":7,"column":1},"filename":"/cases/code.pug","end":{"line":7,"column":1}}}
{"type":"tag","loc":{"start":{"line":7,"column":1},"filename":"/cases/code.pug","end":{"line":7,"column":2}},"val":"p"}
{"type":"start-attributes","loc":{"start":{"line":7,"column":2},"filename":"/cases/code.pug","end":{"line":7,"column":3}}}
{"type":"attribute","loc":{"start":{"line":7,"column":3},"filename":"/cases/code.pug","end":{"line":7,"column":16}},"name":"foo","mustEscape":true,"val":"undefined"}
{"type":"end-attributes","loc":{"start":{"line":7,"column":16},"filename":"/cases/code.pug","end":{"line":7,"column":17}}}
{"type":"newline","loc":{"start":{"line":8,"column":1},"filename":"/cases/code.pug","end":{"line":8,"column":1}}}
{"type":"tag","loc":{"start":{"line":8,"column":1},"filename":"/cases/code.pug","end":{"line":8,"column":2}},"val":"p"}
{"type":"start-attributes","loc":{"start":{"line":8,"column":2},"filename":"/cases/code.pug","end":{"line":8,"column":3}}}
{"type":"attribute","loc":{"start":{"line":8,"column":3},"filename":"/cases/code.pug","end":{"line":8,"column":9}},"name":"foo","mustEscape":true,"val":"''"}
{"type":"end-attributes","loc":{"start":{"line":8,"column":9},"filename":"/cases/code.pug","end":{"line":8,"column":10}}}
{"type":"newline","loc":{"start":{"line":9,"column":1},"filename":"/cases/code.pug","end":{"line":9,"column":1}}}
{"type":"tag","loc":{"start":{"line":9,"column":1},"filename":"/cases/code.pug","end":{"line":9,"column":2}},"val":"p"}
{"type":"start-attributes","loc":{"start":{"line":9,"column":2},"filename":"/cases/code.pug","end":{"line":9,"column":3}}}
{"type":"attribute","loc":{"start":{"line":9,"column":3},"filename":"/cases/code.pug","end":{"line":9,"column":8}},"name":"foo","mustEscape":true,"val":"0"}
{"type":"end-attributes","loc":{"start":{"line":9,"column":8},"filename":"/cases/code.pug","end":{"line":9,"column":9}}}
{"type":"newline","loc":{"start":{"line":10,"column":1},"filename":"/cases/code.pug","end":{"line":10,"column":1}}}
{"type":"tag","loc":{"start":{"line":10,"column":1},"filename":"/cases/code.pug","end":{"line":10,"column":2}},"val":"p"}
{"type":"start-attributes","loc":{"start":{"line":10,"column":2},"filename":"/cases/code.pug","end":{"line":10,"column":3}}}
{"type":"attribute","loc":{"start":{"line":10,"column":3},"filename":"/cases/code.pug","end":{"line":10,"column":12}},"name":"foo","mustEscape":true,"val":"false"}
{"type":"end-attributes","loc":{"start":{"line":10,"column":12},"filename":"/cases/code.pug","end":{"line":10,"column":13}}}
{"type":"eos","loc":{"start":{"line":10,"column":13},"filename":"/cases/code.pug","end":{"line":10,"column":13}}}