public function buildFilter($options)
{
$filterClass = 'Flow\\JSONPath\\Filters\\' . ucfirst($this->type) . 'Filter';
if (!class_exists($filterClass)) {
throw new JSONPathException("No filter class exists for token [{$this->type}]");
}
return new $filterClass($this, $options);
}