Readonly
_isHFilterUsed for a type guard check.
Readonly
nodeThe internal parsed node of the current haystack filter.
Evalulate a node against an object. The object contains properties used in the evaluation.
The evaluation context.
The result of the evaluation.
Static
evalEvalulate a node against an object. The object contains properties used in the evaluation.
The AST node to evaluate.
The evaluation context.
The result of the evaluation.
Static
isHFilterStatic
parseStatic
toGenerate a Haystack Filter string from a node.
The AST node to generate the Haystack Filter string from.
The haystack filter.
An error is thrown if the haystack filter is invalid.
Generated using TypeDoc
Parses haystack filters so they can be validated and converted into different types of queries.
This class serves as the main entry point for working with Haystack Filters in this module.
As well as static methods, this class also utilizes the builder pattern for the instance methods.