Lines Matching refs:elmInstance
545 public function _evaluateWellFormed($elmInstance) { argument
549 public function evaluate($elmInstance) { argument
550 $this->ensureWellFormed($elmInstance);
551 return $this->_evaluateWellFormed($elmInstance);
563 public function getRepresentation($elmInstance) { argument
564 $this->ensureWellFormed($elmInstance);
566 foreach ($elmInstance->args() as $arg) {
603 public function ensureWellFormed($elmInstance) { argument
604 if ($elmInstance->definition() != $this) {
607 $args = $elmInstance->args();
612 … throw new MalformedExpressionException($elmInstance, 'Expected exactly one token.');
614 … throw new MalformedExpressionException($elmInstance, 'Expected a token instance.');
616 …throw new MalformedExpressionException($elmInstance, 'Expected a token of type ' . $this->tokenDef…
624 … throw new MalformedExpressionException($elmInstance, 'Expected at least two arguments.');
626 … throw new MalformedExpressionException($elmInstance, 'Expected at least one argument.');
629 …throw new MalformedExpressionException($elmInstance, 'Expected exactly ' . $this->arity() . ' argu…