parser

package
v0.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOWEST int
	LOGIC
	PREFIX // not IDENT
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

Parser -

func NewParser

func NewParser(str string) (p *Parser)

NewParser -

func (*Parser) Error

func (p *Parser) Error() error

Error -

func (*Parser) Errors

func (p *Parser) Errors() []string

Errors -

func (*Parser) Parse

func (p *Parser) Parse() *ast.Schema

Parse -

type SchemaTranslator

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

SchemaTranslator -

func NewSchemaTranslator

func NewSchemaTranslator(sch *ast.Schema) (*SchemaTranslator, error)

NewSchemaTranslator -

func (*SchemaTranslator) Translate

func (t *SchemaTranslator) Translate() (sch schema.Schema)

Translate -

Jump to

Keyboard shortcuts

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