Module rustc_expand::mbe::metavar_expr

source ยท

Enumsยง

  • MetaVarExpr ๐Ÿ”’
    A meta-variable expression, for expansions based on properties of meta-variables.

Functionsยง

  • 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
  • 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.