tree-sitter-cmake/corpus/common_invocations.txt

82 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-04-10 12:01:43 -04:00
===================================
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)
)
)
)