native

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseRequest added in v1.1.0

type ParseRequest protocol.ParseRequest

ParseRequest to use with the native parser. This is for internal use.

type ParseResponse added in v1.1.0

type ParseResponse struct {
	// Status is the status of the parsing request.
	Status protocol.Status `json:"status"`
	// Status is the status of the parsing request.
	Errors []string `json:"errors"`
	// AST contains the AST from the parsed code.
	AST interface{} `json:"ast"`
	// Elapsed is the amount of time consume processing the request.
	Elapsed time.Duration `json:"elapsed"`
}

ParseResponse is the reply to ParseRequest by the native parser.

Jump to

Keyboard shortcuts

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