pixsy/node_modules/pug-parser/test/cases/escape-test.tokens.json

20 lines
1018 B
JSON

{"type":"doctype","line":1,"col":1,"val":"html"}
{"type":"newline","line":2,"col":1}
{"type":"tag","line":2,"col":1,"val":"html"}
{"type":"indent","line":3,"col":1,"val":4}
{"type":"tag","line":3,"col":5,"val":"head"}
{"type":"indent","line":4,"col":1,"val":8}
{"type":"tag","line":4,"col":9,"val":"title"}
{"type":"text","line":4,"col":15,"val":"escape-test"}
{"type":"outdent","line":5,"col":5}
{"type":"tag","line":5,"col":5,"val":"body"}
{"type":"indent","line":6,"col":1,"val":8}
{"type":"tag","line":6,"col":9,"val":"textarea"}
{"type":"indent","line":7,"col":1,"val":12}
{"type":"code","line":7,"col":13,"val":"var txt = '<param name=\"flashvars\" value=\"a=&quot;value_a&quot;&b=&quot;value_b&quot;&c=3\"/>'","mustEscape":false,"buffer":false}
{"type":"newline","line":8,"col":1}
{"type":"interpolated-code","line":8,"col":15,"val":"txt","mustEscape":true,"buffer":true}
{"type":"outdent","line":9,"col":9}
{"type":"outdent","line":9,"col":5}
{"type":"outdent","line":9,"col":1}
{"type":"eos","line":9,"col":1}