tree-sitter-gram/test/corpus/steps.txt

126 lines
1.6 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

========================================
Blank line between steps
========================================
Mix.
Bake.
---
(document
(step
(text))
(step
(text)))
========================================
Consecutive lines make one step
========================================
Mix the flour
with the water.
---
(document
(step
(text)
(text)))
========================================
Blank line made of blanks
========================================
Mix.
Bake.
---
(document
(step
(text))
(step
(text)))
========================================
Action
========================================
[Knead] the dough.
---
(document
(step
(action
(name))
(text)))
========================================
Bracket inside a step is prose
========================================
Knead [well] the dough.
---
(document
(step
(text)))
========================================
Unclosed action is prose
========================================
[Knead the dough.
---
(document
(step
(text)
(text)))
========================================
No trailing newline
========================================
Mix.
---
(document
(step
(text)))
========================================
CRLF and lone CR
========================================
Mix.
Stir.
Bake.
---
(document
(step
(text)
(text))
(step
(text)))
========================================
A no-break space makes a line
========================================
Mix.
 
Bake.
---
(document
(step
(text)
(text)
(text)))