Module nu_protocol::ast
source · Expand description
Types representing parsed Nushell code (the Abstract Syntax Tree)
Structs§
- Parsed call of a
Command - Represents the potentially nested access to fields/cells of a container type
- Wrapper around
Expr - The pattern specifying modules in a
usestatement - The first item of a
usestatement needs to specify an explicit module - AST Node for match arm with optional match guard
Enums§
- Parsed command arguments
- An
ExpressionAST node - Argument passed to an external command
- possible patterns after the first module level in an
ImportPattern. - Expressions permitted inside a list expression/literal
- One level of access of a
CellPath - AST Node for pattern matching rules
- Expressions permitted inside a record expression/literal