Searched refs:addGrammar (Results 1 – 3 of 3) sorted by relevance
116 $grammar->addGrammar(new $class($match[1]));119 $grammar->addGrammar(new Twig_Extensions_Grammar_Constant($match[0]));122 …$grammar->addGrammar(new Twig_Extensions_Grammar_Constant($match[0], Twig_Token::PUNCTUATION_TYPE)…126 $grammar->addGrammar(self::parseGrammar($str, false));
23 $this->addGrammar($grammar);37 public function addGrammar(Twig_Extensions_GrammarInterface $grammar) function in Twig_Extensions_Grammar_Tag
23 $this->addGrammar($grammar);37 public function addGrammar(Twig_Extensions_GrammarInterface $grammar) function in Twig_Extensions_Grammar_Optional