tree-sitter-bash/corpus/programs.txt

43 lines
508 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
(command_name (word))
2017-07-16 05:13:55 +00:00
(word)
(word))
2017-07-14 23:11:35 +00:00
(command
(variable_assignment
2017-07-14 21:39:28 +00:00
(variable_name)
2017-07-16 05:13:55 +00:00
(word))
(variable_assignment
2017-07-14 21:39:28 +00:00
(variable_name)
2017-07-16 05:13:55 +00:00
(word))
(command_name (word))
2017-07-16 05:13:55 +00:00
(word)))