h

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: CC0-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const SpaceChars = "\x20"

SpaceChars is the string of all whitespace characters.

Variables

This section is empty.

Functions

func CollapseLists

func CollapseLists(n *peg.Node)

CollapseLists collapses chains of single-kid nodes.

func Parse

func Parse(text string) (*peg.Node, error)

Parse parses h. On success, the parseTree is returned. On failure, both the word-level and the raw, morphological errors are returned.

func RemoveSpace

func RemoveSpace(n *peg.Node)

RemoveSpace removes whitespace-only nodes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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