package
0.9.1
Repository: https://github.com/curoky/go-thrift-parser.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AllowInvalidUTF8 creates an Option to allow invalid UTF-8 bytes.
No description provided by the author
Debug creates an Option to set the debug flag to b.
Entrypoint creates an Option to set the rule name to use as entrypoint.
GlobalStore creates an Option to set a key to a certain value in the globalStore.
InitState creates an Option to set a key to a certain value in the global "state" store.
MaxExpressions creates an Option to stop parsing after the provided number of expressions have been parsed, if the value is 0 then the parser will parse for as many steps as needed (possibly an infinite number).
Memoize creates an Option to set the memoize flag to b.
Parse parses the data from b using filename as information in the error messages.
ParseFile parses the file identified by filename.
ParseReader parses the data from r using filename as information in the error messages.
Recover creates an Option to set the recover flag to b.
Statistics adds a user provided Stats struct to the parser to allow the user to process the results after the parsing has finished.

# Structs

No description provided by the author
Stats stores some statistics, gathered during parsing.

# Interfaces

Cloner is implemented by any value that has a Clone method, which returns a copy of the value.

# Type aliases

Option is a function that can set an option on the parser.
No description provided by the author