Module metavar_expr

Source

Enums§

MetaVarExpr 🔒
A meta-variable expression, for expansions based on properties of meta-variables.
MetaVarExprConcatElem 🔒
Indicates what is placed in a concat parameter. For example, literals (${concat("foo", "bar")}) or adhoc identifiers (${concat(foo, bar)}).

Constants§

RAW_IDENT_ERR 🔒
UNSUPPORTED_CONCAT_ELEM_ERR 🔒

Functions§

check_trailing_token 🔒
eat_dollar 🔒
Expects that the next item is a dollar sign.
parse_count 🔒
Parse a meta-variable count expression: count(ident[, depth])
parse_depth 🔒
Parses the depth used by index(depth) and len(depth).
parse_ident 🔒
Parses an generic ident
parse_ident_from_token 🔒
parse_token 🔒
try_eat_comma 🔒
Tries to move the iterator forward returning true if there is a comma. If not, then the iterator is not modified and the result is false.
try_eat_dollar 🔒
Tries to move the iterator forward returning true if there is a dollar sign. If not, then the iterator is not modified and the result is false.