tree-sitter-bash/corpus/programs.txt

43 lines
518 B
Plaintext
Raw Normal View History

2017-07-14 21:34:49 +00:00
===============================
Comments
===============================
#!/bin/bash
# hi
---
(program
(comment)
(comment))
2017-07-14 21:39:28 +00:00
===============================
Escaped newlines
===============================
abc \
d \
e
f=g \
h=i \
j \
--k
---
(program
2017-07-14 23:11:35 +00:00
(command
2017-07-14 21:39:28 +00:00
(command_name)
2017-07-16 05:13:55 +00:00
(word)
(word))
2017-07-14 23:11:35 +00:00
(command
2017-07-14 21:39:28 +00:00
(environment_variable_assignment
(variable_name)
2017-07-16 05:13:55 +00:00
(word))
2017-07-14 21:39:28 +00:00
(environment_variable_assignment
(variable_name)
2017-07-16 05:13:55 +00:00
(word))
2017-07-14 21:39:28 +00:00
(command_name)
2017-07-16 05:13:55 +00:00
(word)))