comments.tokens.json
2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{"type":"newline","line":2,"col":1}
{"type":"comment","line":2,"col":1,"val":" foo","buffer":true}
{"type":"newline","line":3,"col":1}
{"type":"tag","line":3,"col":1,"val":"ul"}
{"type":"indent","line":4,"col":1,"val":2}
{"type":"comment","line":4,"col":3,"val":" bar","buffer":true}
{"type":"newline","line":5,"col":1}
{"type":"tag","line":5,"col":3,"val":"li"}
{"type":"text","line":5,"col":6,"val":"one"}
{"type":"newline","line":6,"col":1}
{"type":"comment","line":6,"col":3,"val":" baz","buffer":true}
{"type":"newline","line":7,"col":1}
{"type":"tag","line":7,"col":3,"val":"li"}
{"type":"text","line":7,"col":6,"val":"two"}
{"type":"outdent","line":9,"col":1}
{"type":"comment","line":9,"col":1,"val":"","buffer":true}
{"type":"start-pipeless-text","line":9,"col":3}
{"type":"text","line":10,"col":3,"val":"ul"}
{"type":"newline","line":11,"col":1}
{"type":"text","line":11,"col":3,"val":" li foo"}
{"type":"newline","line":12,"col":1}
{"type":"text","line":12,"col":3,"val":""}
{"type":"end-pipeless-text","line":12,"col":3}
{"type":"newline","line":13,"col":1}
{"type":"comment","line":13,"col":1,"val":" block","buffer":true}
{"type":"start-pipeless-text","line":13,"col":9}
{"type":"text","line":14,"col":3,"val":"// inline follow"}
{"type":"newline","line":15,"col":1}
{"type":"text","line":15,"col":3,"val":"li three"}
{"type":"newline","line":16,"col":1}
{"type":"text","line":16,"col":3,"val":""}
{"type":"end-pipeless-text","line":16,"col":3}
{"type":"newline","line":17,"col":1}
{"type":"comment","line":17,"col":1,"val":" block","buffer":true}
{"type":"start-pipeless-text","line":17,"col":9}
{"type":"text","line":18,"col":3,"val":"// inline followed by tags"}
{"type":"newline","line":19,"col":1}
{"type":"text","line":19,"col":3,"val":"ul"}
{"type":"newline","line":20,"col":1}
{"type":"text","line":20,"col":3,"val":" li four"}
{"type":"newline","line":21,"col":1}
{"type":"text","line":21,"col":3,"val":""}
{"type":"end-pipeless-text","line":21,"col":3}
{"type":"newline","line":22,"col":1}
{"type":"comment","line":22,"col":1,"val":"if IE lt 9","buffer":true}
{"type":"start-pipeless-text","line":22,"col":13}
{"type":"text","line":23,"col":3,"val":"// inline"}
{"type":"newline","line":24,"col":1}
{"type":"text","line":24,"col":3,"val":"script(src='/lame.js')"}
{"type":"newline","line":25,"col":1}
{"type":"text","line":25,"col":3,"val":"// end-inline"}
{"type":"newline","line":26,"col":1}
{"type":"text","line":26,"col":3,"val":""}
{"type":"end-pipeless-text","line":26,"col":3}
{"type":"newline","line":27,"col":1}
{"type":"tag","line":27,"col":1,"val":"p"}
{"type":"text","line":27,"col":3,"val":"five"}
{"type":"newline","line":29,"col":1}
{"type":"class","line":29,"col":1,"val":"foo"}
{"type":"text","line":29,"col":6,"val":"// not a comment"}
{"type":"eos","line":29,"col":22}