parser

package
v0.0.0-...-f795d1e Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message  string
	Location Location
}

func ParseDocument

func ParseDocument(src []byte) (doc *ast.Document, errs []*Error)

func ParseValue

func ParseValue(src []byte) (value ast.Value, errs []*Error)

func (*Error) Error

func (err *Error) Error() string

type Location

type Location struct {
	Line   int
	Column int
}

Jump to

Keyboard shortcuts

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