Lines Matching refs:e
102 } catch (SyntaxError $e) {
103 if (!$e->getSourceContext()) {
104 $e->setSourceContext($this->stream->getSourceContext());
107 if (!$e->getTemplateLine()) {
108 $e->setTemplateLine($this->stream->getCurrent()->getLine());
111 throw $e;
168 …$e = new SyntaxError(sprintf('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this-…
171 …$e->appendMessage(sprintf(' (expecting closing tag for the "%s" tag defined near line %s).', $test…
174 …$e = new SyntaxError(sprintf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->s…
175 … $e->addSuggestions($token->getValue(), array_keys($this->env->getTags()));
178 throw $e;