Lines Matching refs:elmInstance
77 public static function getInstanceLiteralValue($elmInstance) { argument
78 $strValue = $elmInstance->getStringValue();
84 public function _evaluateWellFormed($elmInstance) { argument
85 $userName = self::getInstanceLiteralValue($elmInstance);
96 public function ensureWellFormed($elmInstance) { argument
97 parent::ensureWellFormed($elmInstance);
98 if (count($elmInstance->args()) != 1) {
99 …throw new MalformedExpressionException($elmInstance, 'A subexpression must have exactly one root');
102 public function _evaluateWellFormed($elmInstance) { argument
103 return $elmInstance->evaluateArgs()[0];
112 public function ensureWellFormed($elmInstance) { argument
113 parent::ensureWellFormed($elmInstance);
114 if (!($elmInstance->args()[0]->definition() instanceof Literal)) {
115 …throw new MalformedExpressionException($elmInstance, 'A in-group operator <@> must take exactly on…
118 public function _evaluateWellFormed($elmInstance) { argument
119 $literalInstance = $elmInstance->args()[0];
130 public function _evaluateWellFormed($elmInstance) { argument
131 $argValues = $elmInstance->evaluateArgs();
133 … throw new InvalidExpressionException($elmInstance, 'Not called on a non-boolean argument.');
144 public function _evaluateWellFormed($elmInstance) { argument
145 $argValues = $elmInstance->evaluateArgs();
148 … throw new InvalidExpressionException($elmInstance, 'And called on non-boolean arguments.');
163 public function _evaluateWellFormed($elmInstance) { argument
164 $argValues = $elmInstance->evaluateArgs();
167 … throw new InvalidExpressionException($elmInstance, 'Or called on non-boolean arguments.');