fix operations; add one line blocks
This commit is contained in:
@@ -110,3 +110,32 @@ block_1 {
|
||||
(identifier))
|
||||
(block
|
||||
(identifier))))))
|
||||
|
||||
================================================================================
|
||||
one line block
|
||||
================================================================================
|
||||
|
||||
locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") }
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(config_file
|
||||
(body
|
||||
(one_line_block
|
||||
(identifier)
|
||||
(identifier)
|
||||
(expression
|
||||
(function_call
|
||||
(identifier)
|
||||
(function_arguments
|
||||
(expression
|
||||
(function_call
|
||||
(identifier)))
|
||||
(expression
|
||||
(literal_value
|
||||
(string_lit
|
||||
(template_literal))))
|
||||
(expression
|
||||
(template_expr
|
||||
(quoted_template)))))))))
|
||||
|
||||
Reference in New Issue
Block a user