Expand description
Implements a tokenizer and parsers for POSIX / bash shell syntax.
Modules§
- Parser for shell arithmetic expressions.
- Defines the Abstract Syntax Tree (ast) for shell programs. Includes types and utilities for manipulating the AST.
- Implements parsing for shell glob and extglob patterns.
- Parser for shell prompt syntax (e.g.,
PS1
). - Parser for shell test commands.
- Parser for shell words, used in expansion and other contexts.
Structs§
- Implements parsing for shell programs.
- Options used to control the behavior of the parser.
- Information about the source of tokens.
- Represents a position in a source shell script.
- Represents the location of a token in its source shell script.
Enums§
- Represents an error that occurred while parsing tokens.
- Represents an error that occurred while parsing a (non-extended) test command.
- Represents a token extracted from a shell script.
- Represents an error that occurred while parsing a word.
Functions§
- Parses a sequence of tokens into the abstract syntax tree (AST) of a shell program.
- Break the given input shell script string into tokens, returning the tokens.
- Return a string with all the quoting removed.