tree-sitter-cmake/corpus/unquoted_argument.txt
2021-06-16 21:37:14 +02:00

88 lines
1.6 KiB
Plaintext

========================================================
Command invocation with one argument [unquoted_argument]
========================================================
message(STATUS)
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
)
)
=========================================================
Command invocation with two arguments [unquoted_argument]
=========================================================
message(STATUS Hello)
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (unquoted_argument))
)
)
===============================================================
Command invocations with leading seperation [unquoted_argument]
===============================================================
message( STATUS)
message(
STATUS)
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
)
(normal_command
(identifier)
(argument (unquoted_argument))
)
)
============================================================
Command invocations with escape sequence [unquoted_argument]
============================================================
message( STATUS)
message(
STATUS)
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
)
(normal_command
(identifier)
(argument (unquoted_argument))
)
)
========================================
Variable referencing [unquoted_argument]
========================================
message(${var_ref})
---
(source_file
(normal_command
(identifier)
(argument
(unquoted_argument
(variable_ref (normal_var (variable)))
)
)
)
)