Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var Stats parsingStats
Stats contains some statistics that may be checked after a call to ParseString or ParseFile
Functions ¶
func ParseFile ¶
ParseFile parses a file in parallel using an operator precedence grammar. It takes as input a filename and the number of threads, and returns a boolean representing the success or failure of the parsing and the symbol at the root of the syntactic tree (if successful).
func ParseString ¶
ParseString parses a string in parallel using an operator precedence grammar. It takes as input a string as a slice of bytes and the number of threads, and returns a boolean representing the success or failure of the parsing and the symbol at the root of the syntactic tree (if successful).
func SetCPUProfileFile ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.