Slide 43
Slide 43 text
iro#ruby#tokens()
tokens to highlights data
[[[1, 0], :on_kw, "def"],
[[1, 3], :on_sp, " "],
[[1, 4], :on_ident, "foo"],
[[1, 7], :on_nl, "\n"],
[[2, 0], :on_sp, " "],
[[2, 2], :on_ident, "puts"],
[[2, 6], :on_sp, " "],
[[2, 7], :on_tstring_beg, "\""],
[[2, 8], :on_tstring_content, "Hello
world!"],
{
"Keyword":[[1,1,3],[3,1,3]],
"String":[[2,9,12]],
"Delimiter":[[2,8,1], [2,21,1]]
}