- 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
8 lines
1.0 KiB
JSON
8 lines
1.0 KiB
JSON
{"type":"tag","loc":{"start":{"line":1,"column":1},"filename":"/cases/namespaces.pug","end":{"line":1,"column":13}},"val":"fb:user:role"}
|
|
{"type":"text","loc":{"start":{"line":1,"column":14},"filename":"/cases/namespaces.pug","end":{"line":1,"column":23}},"val":"Something"}
|
|
{"type":"newline","loc":{"start":{"line":2,"column":1},"filename":"/cases/namespaces.pug","end":{"line":2,"column":1}}}
|
|
{"type":"tag","loc":{"start":{"line":2,"column":1},"filename":"/cases/namespaces.pug","end":{"line":2,"column":4}},"val":"foo"}
|
|
{"type":"start-attributes","loc":{"start":{"line":2,"column":4},"filename":"/cases/namespaces.pug","end":{"line":2,"column":5}}}
|
|
{"type":"attribute","loc":{"start":{"line":2,"column":5},"filename":"/cases/namespaces.pug","end":{"line":2,"column":17}},"name":"fb:foo","mustEscape":true,"val":"'bar'"}
|
|
{"type":"end-attributes","loc":{"start":{"line":2,"column":17},"filename":"/cases/namespaces.pug","end":{"line":2,"column":18}}}
|
|
{"type":"eos","loc":{"start":{"line":2,"column":18},"filename":"/cases/namespaces.pug","end":{"line":2,"column":18}}} |