brush_parser

Module word

source
Expand description

Parser for shell words, used in expansion and other contexts.

Implements support for:

  • Text quoting (single, double, ANSI C).
  • Escape sequences.
  • Tilde prefixes.
  • Parameter expansion expressions.
  • Command substitution expressions.
  • Arithmetic expansion expressions.

Enums§

Functions§

  • Parse a word into its constituent pieces.
  • Parse the given word into a parameter expression.