parser

package
v0.0.0-...-9f34108 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseInternal

func ParseInternal(root token.Token, src io.Reader) []error

ParseInternal reads and parses an input modelled after the given token graph. The errors return argument is not nil if an error is encountered during reading or parsing the input e.g. if the input does not match the given token graph.

func ParseTavor

func ParseTavor(src io.Reader) (token.Token, error)

ParseTavor reads and parses a Tavor formatted input and returns its token graph representation beginning with the START token. The error return argument is not nil if an error is encountered during reading or parsing the file e.g. a syntax or semantic error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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