elvish: github.com/elves/elvish/pkg/parse/parseutil Index | Files

package parseutil

import "github.com/elves/elvish/pkg/parse/parseutil"

Package parseutil contains utilities built on top of the parse package.


Package Files


func FindLeafNode Uses

func FindLeafNode(n parse.Node, p int) parse.Node

LeafNodeAtDot finds the leaf node at a specific position. It returns nil if position is out of bound.

func Wordify Uses

func Wordify(src string) []string

Wordify turns a piece of source code into words.

Package parseutil imports 2 packages (graph) and is imported by 2 packages. Updated 2019-12-23. Refresh now. Tools for package owners.