tree-sitter-cmake/corpus/while.txt

42 lines
596 B
Plaintext
Raw Normal View History

2021-06-17 16:45:35 -04:00
===================
Empty while [while]
===================
while(cond)
endwhile()
---
(source_file
(while_loop
(while_command
(while)
(argument (unquoted_argument))
)
(endwhile_command (endwhile))
)
)
============================================
Empty while with argument in endwhile[while]
============================================
while(cond)
endwhile(cond)
---
(source_file
(while_loop
(while_command
(while)
(argument (unquoted_argument))
)
(endwhile_command
(endwhile)
(argument (unquoted_argument))
)
)
)