mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
---input---
|
|
resource "local_file" "heredoc" {
|
|
content = <<-DOC
|
|
heredoc content
|
|
DOC
|
|
}
|
|
|
|
resource "local_file" "heredoc" {
|
|
content = <<DOC
|
|
heredoc content
|
|
DOC
|
|
}
|
|
|
|
---tokens---
|
|
'resource' Keyword.Reserved
|
|
' ' Text.Whitespace
|
|
'"local_file"' Name.Class
|
|
' ' Text.Whitespace
|
|
'"heredoc"' Name.Variable
|
|
' ' Text.Whitespace
|
|
'{' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
' ' Text.Whitespace
|
|
'content' Name.Attribute
|
|
' ' Text.Whitespace
|
|
'=' Operator
|
|
' ' Text.Whitespace
|
|
'<<-' Operator
|
|
'DOC' Literal.String.Delimiter
|
|
'\n' Literal.String.Heredoc
|
|
|
|
' heredoc content\n' Literal.String.Heredoc
|
|
|
|
' DOC\n' Literal.String.Delimiter
|
|
|
|
'}' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'\n' Text.Whitespace
|
|
|
|
'resource' Keyword.Reserved
|
|
' ' Text.Whitespace
|
|
'"local_file"' Name.Class
|
|
' ' Text.Whitespace
|
|
'"heredoc"' Name.Variable
|
|
' ' Text.Whitespace
|
|
'{' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
' ' Text.Whitespace
|
|
'content' Name.Attribute
|
|
' ' Text.Whitespace
|
|
'=' Operator
|
|
' ' Text.Whitespace
|
|
'<<' Operator
|
|
'DOC' Literal.String.Delimiter
|
|
'\n' Literal.String.Heredoc
|
|
|
|
' heredoc content\n' Literal.String.Heredoc
|
|
|
|
' DOC\n' Literal.String.Delimiter
|
|
|
|
'}' Punctuation
|
|
'\n' Text.Whitespace
|