nomdl

package
v0.0.0-...-22f70f5 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustParseType

func MustParseType(code string) *types.Type

MustParseType parses a string describing a Noms type and panics if there is an error.

func ParseType

func ParseType(code string) (typ *types.Type, err error)

ParseType parses a string describing a Noms type.

Types

type Parser

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

Parser provides ways to parse Noms types.

func New

func New(r io.Reader, options ParserOptions) *Parser

New creates a new Parser.

type ParserOptions

type ParserOptions struct {
	// Filename is the name of the file we are currently parsing.
	Filename string
}

ParserOptions allows passing options into New.

Jump to

Keyboard shortcuts

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