Lines Matching refs:parenthesis
167 $parenthesis = $this->validateComparisonFilter($startAt, $isRoot);
168 $endAt = !$parenthesis && $isRoot ? $this->length : $this->nextClosingParenthesis($startAt) + 1;
194 $startAt + ($parenthesis ? 1 : 0),
195 (int) $attributeEndsAfter - ($parenthesis ? 1 : 0)
200 $endAt - (int) $valueStartsAt - ($parenthesis ? 1 : 0)
214 * Validates some initial filter logic and determines if the filter is wrapped in parenthesis (validly).
223 $parenthesis = true;
225 # A filter without an opening parenthesis is only valid if it is the root. And it cannot have a closing parenthesis.
227 $parenthesis = false;
234 throw new FilterParseException(sprintf('The ")" at char %s has no matching parenthesis', $pos));
236 # If this is not a root filter, it must start with an opening parenthesis.
245 return $parenthesis;
417 * comparison filter is encountered to only capture beginning and end parenthesis of containers.
419 * Each container encountered has its end point marked by detecting the closing parenthesis then we loop through known
430 # Detect an unescaped left parenthesis
433 # We have reached a closing parenthesis of a container, work backwards from those defined to set the ending.
485 # Is the parenthesis followed by an (ie. |, &, !) operator? If so it can contain children ...
512 # If there is no operator this is a standard comparison filter, just find the next closing parenthesis
535 'The closing ")" at position %s has no matching parenthesis',