Module context

Module context 

Source

Functions§

context_add_value
Add a value associated with a field to the context. This is useful when you want to match a value against a field in the schema.
context_free
Deallocate the context object.
context_get_result
Get the result of the context.
context_new
Allocate a new context object associated with the schema.
context_reset
Reset the context so that it can be reused. This is useful when you want to reuse the same context for multiple matches. This will clear all the values that were added to the context, but keep the memory allocated for the context.