Jonatan Kłosko 1b3ecf7765
Rename module highlight token (#16)
* Rename module highlight token

* Fix CRLF in scanner lookahead
2021-12-15 23:29:48 +01:00

67 lines
1.7 KiB
Elixir

fn x, y, z ->
# <- keyword
# ^ variable
# ^ punctuation.delimiter
# ^ variable
# ^ punctuation.delimiter
# ^ variable
# ^ operator
fn(a, b, c) ->
# <- keyword
# ^ punctuation.bracket
# ^ variable
# ^ punctuation.delimiter
# ^ variable
# ^ punctuation.delimiter
# ^ variable
# ^ punctuation.bracket
# ^ operator
&(x + y - z * a / &1 + b + div(&2, c))
#<- operator
#^ punctuation.bracket
# ^ variable
# ^ operator
# ^ variable
# ^ operator
# ^ variable
# ^ operator
# ^ variable
# ^ operator
# ^ operator
# ^ operator
# ^ variable
# ^ operator
# ^ function
# ^ punctuation.bracket
# ^ operator
# ^ punctuation.delimiter
# ^ variable
# ^ punctuation.bracket
# ^ punctuation.bracket
end
end
&Set.put(&1, &2)
# <- operator
# ^ module
# ^ operator
# ^ function
# ^ punctuation.bracket
# ^ operator
# ^ punctuation.delimiter
# ^ operator
# ^ punctuation.bracket
&( Set.put(&1, &1) )
#<- operator
#^ punctuation.bracket
# ^ module
# ^ operator
# ^ function
# ^ punctuation.bracket
# ^ operator
# ^ punctuation.delimiter
# ^ operator
# ^ punctuation.bracket
# ^ punctuation.bracket