scripts.tokens.json 879 Bytes
{"type":"tag","line":1,"col":1,"val":"script"}
{"type":"dot","line":1,"col":7}
{"type":"start-pipeless-text","line":1,"col":8}
{"type":"text","line":2,"col":3,"val":"if (foo) {"}
{"type":"newline","line":3,"col":1}
{"type":"text","line":3,"col":3,"val":"  bar();"}
{"type":"newline","line":4,"col":1}
{"type":"text","line":4,"col":3,"val":"}"}
{"type":"end-pipeless-text","line":4,"col":4}
{"type":"newline","line":5,"col":1}
{"type":"tag","line":5,"col":1,"val":"script"}
{"type":"code","line":5,"col":7,"val":"'foo()'","mustEscape":false,"buffer":true}
{"type":"newline","line":6,"col":1}
{"type":"tag","line":6,"col":1,"val":"script"}
{"type":"text","line":6,"col":8,"val":"foo()"}
{"type":"newline","line":7,"col":1}
{"type":"tag","line":7,"col":1,"val":"script"}
{"type":"newline","line":8,"col":1}
{"type":"tag","line":8,"col":1,"val":"div"}
{"type":"eos","line":8,"col":4}