Lines Matching refs:literal
239 * Quote literal if needed
241 * @param string $literal
244 private function quoteLiteral(string $literal): string {
245 $hasDoubleQuote = FALSE !== strpos($literal, '"');
247 $hasSingleQuote = FALSE !== strpos($literal, "'");
250 $parts = explode('"', $literal);
259 return "'".$literal."'";
261 return '"'.$literal.'"';
422 $this->quoteLiteral($attribute->literal->value)
429 strlen($attribute->literal->value),
430 $this->quoteLiteral($attribute->literal->value)
437 $this->quoteLiteral($attribute->literal->value)
441 $condition = '@'.$attribute->name.' = '.$this->quoteLiteral($attribute->literal->value);
447 $this->quoteLiteral(' '.trim($attribute->literal->value).' ')
454 $this->quoteLiteral($attribute->literal->value)