parseable

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectibleField

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

type DefaultParser

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

func (*DefaultParser) CollectibleField

func (parser *DefaultParser) CollectibleField(name string, schema *schema.Schema, onFound nodeFunc)

func (*DefaultParser) OptionalField

func (parser *DefaultParser) OptionalField(name nameable.Nameable, schema *schema.Schema, onFound nodeFunc)

func (*DefaultParser) Parse

func (parser *DefaultParser) Parse(node *node.Node) error

func (*DefaultParser) RequiredField

func (parser *DefaultParser) RequiredField(nameable nameable.Nameable, schema *schema.Schema, onFound nodeFunc)

func (*DefaultParser) Schema

func (parser *DefaultParser) Schema() *schema.Schema

type Field

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

type Parseable

type Parseable interface {
	Parse(node *node.Node) error
	Schema() *schema.Schema
	Proto() interface{}
}

Jump to

Keyboard shortcuts

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