Documentation ¶
Index ¶
- func Branch(nodes ...interface{}) *cst.Branch
- func Fragment(tok string) cst.Fragment
- func Leaf(v string) cst.Node
- func Node(prefix interface{}, v interface{}, suffix interface{}) cst.Node
- func Peek(r *parse.Reader, value string) bool
- func Separator(list ...interface{}) cst.Separator
- func Token(value string) cst.Token
- func Value(v interface{}) interface{}
- func VerifyFragmentTokens(ctx context.Context, f cst.Fragment, next *int)
- func VerifyNodeTokens(ctx context.Context, n cst.Node, next *int)
- func VerifyTokens(ctx context.Context, got cst.Node)
- type ArrayNode
- type CallNode
- type ListNode
- type NumberNode
- type ValueNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyFragmentTokens ¶
Types ¶
type NumberNode ¶
type NumberNode uint64
func (*NumberNode) Consumer ¶
func (n *NumberNode) Consumer(p *parse.Parser) parse.LeafParser
Click to show internal directories.
Click to hide internal directories.