tree-sitter-cmake/corpus/parentheses.txt
2021-07-01 13:36:35 +02:00

39 lines
1,020 B
Plaintext

===================================================
Parentheses inside command invocation [parentheses]
===================================================
message(STATUS (TEST))
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (unquoted_argument))
)
)
===========================================================
Missing parentheses inside command invocation [parentheses]
===========================================================
message(STATUS (TEST)
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (unquoted_argument)) (MISSING ")")
)
)
==================================================================
Nested missing parentheses inside command invocation [parentheses]
==================================================================
message(STATUS ((TEST))
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (unquoted_argument)) (MISSING ")")
)
)