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"` // Language is the parsed language Language string `json:"language"` }
ParseResponse is the reply to ParseRequest by the native parser.
Click to show internal directories.
Click to hide internal directories.