package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Dec 7, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 42
Opens a new window with list of known importers.
Documentation
¶
func Insert(parent *Node, children ...*Node)
const (
KindNothing Kind = iota
KindPattern
KindList
KindRange
KindText
KindAny
KindSuper
KindSingle
KindAnyOf
)
type Node struct {
Parent *Node
Children []*Node
Value interface{}
Kind Kind
}
type Range struct {
Not bool
Lo, Hi rune
}
type Text struct {
Text string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.