mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 23:42:22 +00:00
32 lines
868 B
Plaintext
32 lines
868 B
Plaintext
|
---input---
|
||
|
%Q(hello \n #{name})
|
||
|
%q(hello \n #{name})
|
||
|
%w(foo\nbar baz)
|
||
|
|
||
|
---tokens---
|
||
|
'%Q(' Literal.String.Other
|
||
|
'hello ' Literal.String.Other
|
||
|
'\\n' Literal.String.Escape
|
||
|
' ' Literal.String.Other
|
||
|
'#{' Literal.String.Interpol
|
||
|
'name' Name
|
||
|
'}' Literal.String.Interpol
|
||
|
')' Literal.String.Other
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'%q(' Literal.String.Other
|
||
|
'hello ' Literal.String.Other
|
||
|
'\\' Literal.String.Other
|
||
|
'n ' Literal.String.Other
|
||
|
'#' Literal.String.Other
|
||
|
'{name}' Literal.String.Other
|
||
|
')' Literal.String.Other
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'%w(' Literal.String.Other
|
||
|
'foo' Literal.String.Other
|
||
|
'\\' Literal.String.Other
|
||
|
'nbar baz' Literal.String.Other
|
||
|
')' Literal.String.Other
|
||
|
'\n' Text.Whitespace
|