Skip to main content

Module parser

Module parser 

Source

Modules§

wrappers
Transparent wrapper command unwrapping.

Structs§

Arg
A single command argument, carrying both its text and a classification of the original AST node that produced it.
Assignment
List
Pipeline
Redirect
SimpleCommand

Enums§

ArgMeta
Classification of an argv element based on its AST origin.
ListOp
RedirectOp
Statement
Top-level parsed representation of a bash command string.

Functions§

flatten
Flatten a Statement into its leaf SimpleCommand, Opaque, and Empty nodes.
parse
Parse a command string into a Statement.