Documentation
¶
Overview ¶
Package mem contains functions to interpret and memoize the execution of the grammar.
TODO: cleanup
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mem ¶
type Mem struct {
// contains filtered or unexported fields
}
Mem is the structure containing the memoized grammar.
func NewRecord ¶
New creates a new memoizable grammar which is optimized for records. A record can be json, a protocol buffer, a reflected go structures or any structure that have unique field names for each structure. XML would be an example of a structure for which this simplification is NOT appropriate.
func (*Mem) SetContext ¶
Click to show internal directories.
Click to hide internal directories.