Elixpath.PathComponent (elixpath v0.1.0)
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()
Specs
child() :: {Elixpath.Tag.child(), key()}
Link to this type
descendant()
Specs
descendant() :: {Elixpath.Tag.descendant(), key()}
Link to this type
key()
Specs
key() :: term()
Specs
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.