test

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2017 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Branch

func Branch(nodes ...interface{}) *parse.Branch

func Fragment

func Fragment(tok string) parse.Fragment

func Leaf

func Leaf(v string) parse.Node

func Node

func Node(prefix interface{}, v interface{}, suffix interface{}) parse.Node

func Peek

func Peek(r *parse.Reader, value string) bool

func Separator

func Separator(list ...interface{}) parse.Separator

func Token

func Token(value string) parse.Token

func Value

func Value(v interface{}) interface{}

func VerifyFragmentTokens

func VerifyFragmentTokens(ctx context.Context, f parse.Fragment, next *int)

func VerifyNodeTokens

func VerifyNodeTokens(ctx context.Context, n parse.Node, next *int)

func VerifyTokens

func VerifyTokens(ctx context.Context, got parse.Node)

Types

type ArrayNode

type ArrayNode ListNode

func Array

func Array(values ...interface{}) *ArrayNode

func (*ArrayNode) Parse

func (n *ArrayNode) Parse(p *parse.Parser, cst *parse.Branch)

type CallNode

type CallNode struct {
	// contains filtered or unexported fields
}

func Call

func Call(name string, values ...interface{}) *CallNode

func (*CallNode) Parse

func (n *CallNode) Parse(p *parse.Parser, cst *parse.Branch)

type ListNode

type ListNode []interface{}

func List

func List(values ...interface{}) *ListNode

func (*ListNode) Parse

func (n *ListNode) Parse(p *parse.Parser, cst *parse.Branch)

type NumberNode

type NumberNode uint64

func (*NumberNode) Consume

func (n *NumberNode) Consume(p *parse.Parser, l *parse.Leaf)

type ValueNode

type ValueNode string

func (*ValueNode) Consume

func (n *ValueNode) Consume(p *parse.Parser, l *parse.Leaf)

func (*ValueNode) Parse

func (n *ValueNode) Parse(p *parse.Parser, l *parse.Leaf)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL