Structs
Interface for the Rego interpreter.
Interface for Rego Node objects.
Interface for the Rego output.
Enums
Enumeration of different kinds of Rego Nodes that can be returned as output from a query.
Represents the value of a Rego Node.
Constants
Functions
Returns the build information as a string.
Adds a base document from the specified string.
Adds a base document from the file at the specified path.
Adds a module (e.g. virtual document) from the specified string.
Adds a module (e.g. virtual document) from the file at the
specified path.
Frees a Rego output.
Gets the debug mode of the interpreter.
Returns the most recently thrown error.
Gets whether strict built-in errors are enabled.
Gets whether well-formed checks are enabled.
Returns the child node at the specified index.
Populate a buffer with the JSON representation of the node.
Returns the number of bytes needed to store a 0-terminated string
representing the JSON representation of the node.
Returns the number of children of the node.
Returns an enumeration value indicating the nodes type.
Returns the name of the node type as a human-readable string.
Populate a buffer with the node value.
Returns the number of bytes needed to store a 0-terminated string
representing the text value of the node.
Returns the bound value for a given variable name.
Returns the node containing the output of the query.
Returns whether the output is ok.
Returns the output represented as a human-readable string.
Sets the debug mode of the interpreter.
Sets the path to the debug directory.
Sets the current input document from the specified string.
Sets the current input document from the file at the specified path.
Sets the level of logging.
Sets whether the built-ins should throw errors.
Sets whether to perform well-formed checks after each compiler pass.
Sets the level of logging produced by the library.