1
0
dust/tree-sitter-dust/corpus/commands.txt

68 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-01-25 12:10:45 +00:00
================================================================================
Simple Command
================================================================================
*ls
--------------------------------------------------------------------------------
(root
(statement
(expression
(command
2024-01-25 13:27:24 +00:00
(command_text)))))
2024-01-25 12:10:45 +00:00
================================================================================
Nested Command
================================================================================
*less *ls
--------------------------------------------------------------------------------
(root
(statement
(expression
(command
2024-01-25 13:27:24 +00:00
(command_text)
(command_text)))))
2024-01-25 12:10:45 +00:00
================================================================================
Command with Arguments
================================================================================
*ls --long -a;
(*git status)
*git log;
--------------------------------------------------------------------------------
(root
(statement
(expression
(command
2024-01-25 13:27:24 +00:00
(command_text)
(command_text)
(command_text)
(command_text)
(command_text)
(command_text)
(command_text)))))
2024-01-25 12:10:45 +00:00
================================================================================
Nested Command with Arguments
================================================================================
*less *ls --long -a
--------------------------------------------------------------------------------
(root
(statement
(expression
(command
2024-01-25 13:27:24 +00:00
(command_text)
(command_text)
(command_text)
(command_text)))))