- Add std.log.scoped(.pugz) to template.zig and view_engine.zig - Log detailed error info (code, line, column, message) when parsing fails - Log template path context in ViewEngine on parse errors - Remove debug print from lexer, use proper scoped logging instead - Move benchmarks, docs, examples, playground, tests out of src/ to project root - Update build.zig and documentation paths accordingly - Bump version to 0.3.1
24 lines
3.4 KiB
JSON
24 lines
3.4 KiB
JSON
{"type":"tag","loc":{"start":{"line":1,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":1,"column":5}},"val":"html"}
|
|
{"type":"indent","loc":{"start":{"line":2,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":2,"column":3}},"val":2}
|
|
{"type":"tag","loc":{"start":{"line":2,"column":3},"filename":"/cases/inheritance.defaults.pug","end":{"line":2,"column":7}},"val":"head"}
|
|
{"type":"indent","loc":{"start":{"line":3,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":3,"column":5}},"val":4}
|
|
{"type":"block","loc":{"start":{"line":3,"column":5},"filename":"/cases/inheritance.defaults.pug","end":{"line":3,"column":15}},"val":"head","mode":"replace"}
|
|
{"type":"indent","loc":{"start":{"line":4,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":4,"column":7}},"val":6}
|
|
{"type":"tag","loc":{"start":{"line":4,"column":7},"filename":"/cases/inheritance.defaults.pug","end":{"line":4,"column":13}},"val":"script"}
|
|
{"type":"start-attributes","loc":{"start":{"line":4,"column":13},"filename":"/cases/inheritance.defaults.pug","end":{"line":4,"column":14}}}
|
|
{"type":"attribute","loc":{"start":{"line":4,"column":14},"filename":"/cases/inheritance.defaults.pug","end":{"line":4,"column":29}},"name":"src","mustEscape":true,"val":"'jquery.js'"}
|
|
{"type":"end-attributes","loc":{"start":{"line":4,"column":29},"filename":"/cases/inheritance.defaults.pug","end":{"line":4,"column":30}}}
|
|
{"type":"newline","loc":{"start":{"line":5,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":5,"column":7}}}
|
|
{"type":"tag","loc":{"start":{"line":5,"column":7},"filename":"/cases/inheritance.defaults.pug","end":{"line":5,"column":13}},"val":"script"}
|
|
{"type":"start-attributes","loc":{"start":{"line":5,"column":13},"filename":"/cases/inheritance.defaults.pug","end":{"line":5,"column":14}}}
|
|
{"type":"attribute","loc":{"start":{"line":5,"column":14},"filename":"/cases/inheritance.defaults.pug","end":{"line":5,"column":32}},"name":"src","mustEscape":true,"val":"'keymaster.js'"}
|
|
{"type":"end-attributes","loc":{"start":{"line":5,"column":32},"filename":"/cases/inheritance.defaults.pug","end":{"line":5,"column":33}}}
|
|
{"type":"newline","loc":{"start":{"line":6,"column":1},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":7}}}
|
|
{"type":"tag","loc":{"start":{"line":6,"column":7},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":13}},"val":"script"}
|
|
{"type":"start-attributes","loc":{"start":{"line":6,"column":13},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":14}}}
|
|
{"type":"attribute","loc":{"start":{"line":6,"column":14},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":30}},"name":"src","mustEscape":true,"val":"'caustic.js'"}
|
|
{"type":"end-attributes","loc":{"start":{"line":6,"column":30},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":31}}}
|
|
{"type":"outdent","loc":{"start":{"line":6,"column":31},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":31}}}
|
|
{"type":"outdent","loc":{"start":{"line":6,"column":31},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":31}}}
|
|
{"type":"outdent","loc":{"start":{"line":6,"column":31},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":31}}}
|
|
{"type":"eos","loc":{"start":{"line":6,"column":31},"filename":"/cases/inheritance.defaults.pug","end":{"line":6,"column":31}}} |