package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# Functions

Find finds the path of nodes from the leaf at position p to the root.
FindLeft finds the path of nodes from the leaf at position p to the root.
SimpleExpr returns a [Matcher] matching a "simple expression", which consists of 3 nodes from the leaf upwards (Primary, Indexing and Compound) and where the Compound expression can be evaluated statically using ev.
Store returns a [Matcher] matching one node of a given type, and stores it if a match succeeds.
Typed returns a [Matcher] matching one node of a given type.

# Variables

Commonly used [Typed] matchers.
Commonly used [Typed] matchers.
Commonly used [Typed] matchers.
Commonly used [Typed] matchers.
Commonly used [Typed] matchers.

# Structs

SimpleExprData contains useful data written by the [SimpleExpr] matcher.

# Interfaces

Matcher wraps the Match method.

# Type aliases

Path is a path from a leaf in a parse tree to the root.