Skip to main content

Module parser

Module parser 

Source
Expand description

Recursive descent parser for zsh-compatible shell grammar.

Grammar hierarchy: Program → CompleteCommand* CompleteCommand → List & List → Pipeline ((&& | ||) Pipeline)* Pipeline → ! Command (| Command)* Command → SimpleCommand | CompoundCommand CompoundCommand → Subshell | BraceGroup | If | For | While | Until | Case | Select | FunctionDef SimpleCommand → (Assignment | Word | Redirect)*

Structs§

Parser

Enums§

ParseError
Parse error with position context.