x: within.website/x/h Index | Files

package h

import "within.website/x/h"

Index

Package Files

h_gen.go parser.go simplify.go

Constants

const SpaceChars = "\x20"

SpaceChars is the string of all whitespace characters.

func CollapseLists Uses

func CollapseLists(n *peg.Node)

CollapseLists collapses chains of single-kid nodes.

func Parse Uses

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 Uses

func RemoveSpace(n *peg.Node)

RemoveSpace removes whitespace-only nodes.

Package h imports 4 packages (graph) and is imported by 2 packages. Updated 2019-06-27. Refresh now. Tools for package owners.