Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParse ¶
func MustParse(vrw types.ValueReadWriter, code string) types.Value
MustParse parses a string describing a Noms value and panics if there is an error.
func MustParseType ¶
MustParseType parses a string describing a Noms type and panics if there is an error.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser provides ways to parse Noms types.
func New ¶
func New(vrw types.ValueReadWriter, 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.
Click to show internal directories.
Click to hide internal directories.