28 lines
1.4 KiB
JSON
28 lines
1.4 KiB
JSON
{"type":"blockcode","line":1,"col":1}
|
|
{"type":"start-pipeless-text","line":1,"col":2}
|
|
{"type":"text","line":2,"col":3,"val":"list = [\"uno\", \"dos\", \"tres\","}
|
|
{"type":"newline","line":3,"col":1}
|
|
{"type":"text","line":3,"col":3,"val":" \"cuatro\", \"cinco\", \"seis\"];"}
|
|
{"type":"end-pipeless-text","line":3,"col":38}
|
|
{"type":"newline","line":4,"col":1}
|
|
{"type":"comment","line":4,"col":1,"val":" Without a block, the element is accepted and no code is generated","buffer":false}
|
|
{"type":"newline","line":5,"col":1}
|
|
{"type":"blockcode","line":5,"col":1}
|
|
{"type":"newline","line":6,"col":1}
|
|
{"type":"each","line":6,"col":1,"val":"item","key":null,"code":"list"}
|
|
{"type":"indent","line":7,"col":1,"val":2}
|
|
{"type":"blockcode","line":7,"col":3}
|
|
{"type":"start-pipeless-text","line":7,"col":4}
|
|
{"type":"text","line":8,"col":5,"val":"string = item.charAt(0)"}
|
|
{"type":"newline","line":9,"col":1}
|
|
{"type":"text","line":9,"col":5,"val":""}
|
|
{"type":"newline","line":10,"col":1}
|
|
{"type":"text","line":10,"col":5,"val":" .toUpperCase() +"}
|
|
{"type":"newline","line":11,"col":1}
|
|
{"type":"text","line":11,"col":5,"val":"item.slice(1);"}
|
|
{"type":"end-pipeless-text","line":11,"col":19}
|
|
{"type":"newline","line":12,"col":1}
|
|
{"type":"tag","line":12,"col":3,"val":"li"}
|
|
{"type":"code","line":12,"col":5,"val":"string","mustEscape":true,"buffer":true}
|
|
{"type":"outdent","line":13,"col":1}
|
|
{"type":"eos","line":13,"col":1} |