parseutil

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLeafNode

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

func Wordify(src string) []string

Wordify turns a piece of source code into words.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL