Expand description
The definition of a parser (and related methods) for the shell language.
Structs§
- Command
Group Delimiters - Used to configure when
Parser::command_group
stops parsing commands. - Parser
- A parser for the shell language. It will parse shell commands from a
stream of shell
Token
s, and pass them to an AST builder. - Parser
Iterator - An
Iterator
adapter around aParser
. - Source
Pos - Indicates a character/token position in the original source.
Enums§
- Parse
Error - The error type which is returned from parsing shell commands.
Type Aliases§
- Default
Parser - A parser which will use a default AST builder implementation,
yielding results in terms of types defined in the
ast
module. - Parse
Result - A specialized
Result
type for parsing shell commands.