Module conch_parser::ast
[−]
[src]
Defines abstract representations of the shell source.
Modules
builder |
Defines an interfaces to receive parse data and construct ASTs. |
Structs
AndOrList |
A nonempty list of |
AtomicTopLevelCommand |
A top-level representation of a shell command. Uses |
AtomicTopLevelWord |
A top-level representation of a shell word. Uses |
CompoundCommand |
A class of commands where redirection is applied to a command group. |
GuardBodyPair |
A grouping of guard and body commands. |
PatternBodyPair |
A grouping of patterns and body commands. |
SimpleCommand |
The simplest possible command: an executable with arguments, environment variable assignments, and redirections. |
TopLevelCommand |
A top-level representation of a shell command. Uses |
TopLevelWord |
A top-level representation of a shell word. Uses |
Enums
AndOr |
A command which conditionally runs based on the exit status of the previous command. |
Arithmetic |
Represents an expression within an arithmetic subsitution. |
Command |
Represents any valid shell command. |
ComplexWord |
Represents whitespace delimited text. |
CompoundCommandKind |
A specific kind of a |
ListableCommand |
Commands that can be used within an and/or list. |
Parameter |
Represents reading a parameter (or variable) value, e.g. |
ParameterSubstitution |
A parameter substitution, e.g. |
PipeableCommand |
Commands that can be used within a pipeline. |
Redirect |
Represents redirecting a command's file descriptors. |
RedirectOrCmdWord |
Represents a parsed redirect or a defined command or command argument. |
RedirectOrEnvVar |
Represents a parsed redirect or a defined environment variable at the start of a command. |
SimpleWord |
Represents the smallest fragment of any text. |
Word |
Represents whitespace delimited single, double, or non quoted text. |
Type Definitions
AtomicCommandList |
A type alias over an and/or list of conventional shell commands. |
AtomicShellPipeableCommand |
A type alias for the default hiearchy to represent pipeable commands,
using |
CommandList |
A type alias over an and/or list of conventional shell commands. |
DefaultAndOrList |
Type alias for the default |
DefaultArithmetic |
Type alias for the default |
DefaultCommand |
Type alias for the default |
DefaultComplexWord |
Type alias for the default |
DefaultCompoundCommand |
Type alias for the default |
DefaultCompoundCommandKind |
Type alias for the default |
DefaultListableCommand |
Type alias for the default |
DefaultParameter |
Type alias for the default |
DefaultParameterSubstitution |
Type alias for the default |
DefaultPipeableCommand |
Type alias for the default |
DefaultRedirect |
Type alias for the default |
DefaultSimpleCommand |
Type alias for the default |
DefaultSimpleWord |
Type alias for the default |
DefaultWord |
Type alias for the default |
ShellCompoundCommand |
A type alias for the default hiearchy for representing compound shell commands. |
ShellPipeableCommand |
A type alias for the default hiearchy to represent pipeable commands,
using |
ShellWord |
A type alias for the default hiearchy for representing shell words. |