mixin.merge.tokens.json 7.7 KB
{"type":"mixin","loc":{"start":{"line":1,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":1,"column":10}},"val":"foo","args":null}
{"type":"indent","loc":{"start":{"line":2,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":2,"column":3}},"val":2}
{"type":"tag","loc":{"start":{"line":2,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":2,"column":4}},"val":"p"}
{"type":"class","loc":{"start":{"line":2,"column":4},"filename":"/cases/mixin.merge.pug","end":{"line":2,"column":8}},"val":"bar"}
{"type":"&attributes","loc":{"start":{"line":2,"column":8},"filename":"/cases/mixin.merge.pug","end":{"line":2,"column":31}},"val":"attributes"}
{"type":"text","loc":{"start":{"line":2,"column":32},"filename":"/cases/mixin.merge.pug","end":{"line":2,"column":35}},"val":"One"}
{"type":"newline","loc":{"start":{"line":3,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":3}}}
{"type":"tag","loc":{"start":{"line":3,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":4}},"val":"p"}
{"type":"class","loc":{"start":{"line":3,"column":4},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":8}},"val":"baz"}
{"type":"class","loc":{"start":{"line":3,"column":8},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":13}},"val":"quux"}
{"type":"&attributes","loc":{"start":{"line":3,"column":13},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":36}},"val":"attributes"}
{"type":"text","loc":{"start":{"line":3,"column":37},"filename":"/cases/mixin.merge.pug","end":{"line":3,"column":40}},"val":"Two"}
{"type":"newline","loc":{"start":{"line":4,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":4,"column":3}}}
{"type":"tag","loc":{"start":{"line":4,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":4,"column":4}},"val":"p"}
{"type":"&attributes","loc":{"start":{"line":4,"column":4},"filename":"/cases/mixin.merge.pug","end":{"line":4,"column":27}},"val":"attributes"}
{"type":"text","loc":{"start":{"line":4,"column":28},"filename":"/cases/mixin.merge.pug","end":{"line":4,"column":33}},"val":"Three"}
{"type":"newline","loc":{"start":{"line":5,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":3}}}
{"type":"tag","loc":{"start":{"line":5,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":4}},"val":"p"}
{"type":"class","loc":{"start":{"line":5,"column":4},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":8}},"val":"bar"}
{"type":"&attributes","loc":{"start":{"line":5,"column":8},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":31}},"val":"attributes"}
{"type":"start-attributes","loc":{"start":{"line":5,"column":31},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":32}}}
{"type":"attribute","loc":{"start":{"line":5,"column":32},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":43}},"name":"class","mustEscape":true,"val":"\"baz\""}
{"type":"end-attributes","loc":{"start":{"line":5,"column":43},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":44}}}
{"type":"text","loc":{"start":{"line":5,"column":45},"filename":"/cases/mixin.merge.pug","end":{"line":5,"column":49}},"val":"Four"}
{"type":"outdent","loc":{"start":{"line":7,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":7,"column":1}}}
{"type":"tag","loc":{"start":{"line":7,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":7,"column":5}},"val":"body"}
{"type":"indent","loc":{"start":{"line":8,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":8,"column":3}},"val":2}
{"type":"call","loc":{"start":{"line":8,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":8,"column":7}},"val":"foo","args":null}
{"type":"class","loc":{"start":{"line":8,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":8,"column":13}},"val":"hello"}
{"type":"newline","loc":{"start":{"line":9,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":9,"column":3}}}
{"type":"call","loc":{"start":{"line":9,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":9,"column":7}},"val":"foo","args":null}
{"type":"id","loc":{"start":{"line":9,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":9,"column":13}},"val":"world"}
{"type":"newline","loc":{"start":{"line":10,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":10,"column":3}}}
{"type":"call","loc":{"start":{"line":10,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":10,"column":7}},"val":"foo","args":null}
{"type":"class","loc":{"start":{"line":10,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":10,"column":13}},"val":"hello"}
{"type":"id","loc":{"start":{"line":10,"column":13},"filename":"/cases/mixin.merge.pug","end":{"line":10,"column":19}},"val":"world"}
{"type":"newline","loc":{"start":{"line":11,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":11,"column":3}}}
{"type":"call","loc":{"start":{"line":11,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":11,"column":7}},"val":"foo","args":null}
{"type":"class","loc":{"start":{"line":11,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":11,"column":13}},"val":"hello"}
{"type":"class","loc":{"start":{"line":11,"column":13},"filename":"/cases/mixin.merge.pug","end":{"line":11,"column":19}},"val":"world"}
{"type":"newline","loc":{"start":{"line":12,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":12,"column":3}}}
{"type":"call","loc":{"start":{"line":12,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":12,"column":7}},"val":"foo","args":null}
{"type":"start-attributes","loc":{"start":{"line":12,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":12,"column":8}}}
{"type":"attribute","loc":{"start":{"line":12,"column":8},"filename":"/cases/mixin.merge.pug","end":{"line":12,"column":21}},"name":"class","mustEscape":true,"val":"\"hello\""}
{"type":"end-attributes","loc":{"start":{"line":12,"column":21},"filename":"/cases/mixin.merge.pug","end":{"line":12,"column":22}}}
{"type":"newline","loc":{"start":{"line":13,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":3}}}
{"type":"call","loc":{"start":{"line":13,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":7}},"val":"foo","args":null}
{"type":"class","loc":{"start":{"line":13,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":13}},"val":"hello"}
{"type":"start-attributes","loc":{"start":{"line":13,"column":13},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":14}}}
{"type":"attribute","loc":{"start":{"line":13,"column":14},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":27}},"name":"class","mustEscape":true,"val":"\"world\""}
{"type":"end-attributes","loc":{"start":{"line":13,"column":27},"filename":"/cases/mixin.merge.pug","end":{"line":13,"column":28}}}
{"type":"newline","loc":{"start":{"line":14,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":14,"column":3}}}
{"type":"call","loc":{"start":{"line":14,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":14,"column":7}},"val":"foo","args":null}
{"type":"newline","loc":{"start":{"line":15,"column":1},"filename":"/cases/mixin.merge.pug","end":{"line":15,"column":3}}}
{"type":"call","loc":{"start":{"line":15,"column":3},"filename":"/cases/mixin.merge.pug","end":{"line":15,"column":7}},"val":"foo","args":null}
{"type":"&attributes","loc":{"start":{"line":15,"column":7},"filename":"/cases/mixin.merge.pug","end":{"line":15,"column":36}},"val":"{class: \"hello\"}"}
{"type":"outdent","loc":{"start":{"line":15,"column":36},"filename":"/cases/mixin.merge.pug","end":{"line":15,"column":36}}}
{"type":"eos","loc":{"start":{"line":15,"column":36},"filename":"/cases/mixin.merge.pug","end":{"line":15,"column":36}}}