pixsy/node_modules/pug-parser/test/cases/interpolated-mixin.tokens.json

15 lines
809 B
JSON

{"type":"mixin","line":1,"col":1,"val":"linkit","args":"url"}
{"type":"indent","line":2,"col":1,"val":2}
{"type":"tag","line":2,"col":3,"val":"a"}
{"type":"start-attributes","line":2,"col":4}
{"type":"attribute","line":2,"col":5,"name":"href","val":"url","mustEscape":true}
{"type":"end-attributes","line":2,"col":13}
{"type":"code","line":2,"col":14,"val":"url","mustEscape":true,"buffer":true}
{"type":"outdent","line":4,"col":1}
{"type":"tag","line":4,"col":1,"val":"p"}
{"type":"text","line":4,"col":3,"val":"This also works "}
{"type":"start-pug-interpolation","line":4,"col":19}
{"type":"call","line":4,"col":21,"val":"linkit","args":"'http://www.bing.com'"}
{"type":"end-pug-interpolation","line":4,"col":51}
{"type":"text","line":4,"col":52,"val":" so hurrah for Pug"}
{"type":"eos","line":4,"col":70}