h

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: CC0-1.0, 0BSD 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