package ast
import "github.com/gobwas/glob/syntax/ast"
Index ¶
- func Insert(parent *Node, children ...*Node)
- type Kind
- type Lexer
- type List
- type Node
- func NewNode(k Kind, v interface{}, ch ...*Node) *Node
- func Parse(lexer Lexer) (*Node, error)
- func (a *Node) Equal(b *Node) bool
- func (a *Node) String() string
- type Range
- type Text
Functions ¶
func Insert ¶
Types ¶
type Kind ¶
type Kind int
const ( KindNothing Kind = iota KindPattern KindList KindRange KindText KindAny KindSuper KindSingle KindAnyOf )
func (Kind) String ¶
type Lexer ¶
type List ¶
type Node ¶
func NewNode ¶
func Parse ¶
func (*Node) Equal ¶
func (*Node) String ¶
type Range ¶
type Text ¶
type Text struct { Text string }
Source Files ¶
- Version
- v0.2.3 (latest)
- Published
- Feb 8, 2018
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 5 days ago –
Tools for package owners.