Elixpath.PathComponent (elixpath v0.1.1)
Path components to form an Elixpath. Defined as macros for use in guards and pattern matching.
Link to this section Summary
Functions
Child path component, e.g. Map/Keyword value or list element.
Descendant path component, recursively including children, grand-children, and so on.
Link to this section Types
Link to this type
child()
@type child() :: {Elixpath.Tag.child(), key()}
Link to this type
descendant()
@type descendant() :: {Elixpath.Tag.descendant(), key()}
Link to this type
key()
@type key() :: term()
@type t() :: child() | descendant()
Link to this section Functions
Child path component, e.g. Map/Keyword value or list element.
Descendant path component, recursively including children, grand-children, and so on.