JustBash.Parser.Compound (JustBash v0.4.0)
View SourceParser for compound commands in bash.
Handles parsing of:
if/elif/else/ficonditionalsfor/while/untilloopscase/esacpattern matching- Subshells
(...)and groups{...} - Arithmetic
((...))and conditional[[...]]commands - Function definitions
Summary
Functions
Parse an arithmetic command ((...)).
Parse a case/esac construct.
Parse a conditional command [[...]].
Parse a for loop construct.
Parse a function definition.
Parse a group {...}.
Parse an if/elif/else/fi construct.
Parse a subshell (...).
Parse an until loop construct.
Parse a while loop construct.
Functions
Parse an arithmetic command ((...)).
Parse a case/esac construct.
Parse a conditional command [[...]].
Parse a for loop construct.
Parse a function definition.
Parse a group {...}.
Parse an if/elif/else/fi construct.
Parse a subshell (...).
Parse an until loop construct.
Parse a while loop construct.