tree-sitter-cmake/corpus/common_invocations.txt
2021-04-10 18:01:43 +02:00

82 lines
1.2 KiB
Plaintext

===================================
Command invocation without argument
===================================
message()
---
(source_file
(command_invocation
(identifier)))
===============================================
Command invocation without argument with spaces
===============================================
message( )
---
(source_file
(command_invocation
(identifier)
(seperation (space))
)
)
================================================
Command invocation without argument with newline
================================================
message(
)
---
(source_file
(command_invocation
(identifier)
(seperation
(line_ending (newline))
)
)
)
====================================
Command invocation with one argument
====================================
message(STATUS)
---
(source_file
(command_invocation
(identifier)
(arguments
(argument)
)
)
)
=====================================
Command invocation with two arguments
=====================================
message(STATUS Hello)
---
(source_file
(command_invocation
(identifier)
(arguments
(argument)
(seperation (space))
(argument)
)
)
)