Searched refs:parseGrammar (Results 1 – 2 of 2) sorted by relevance
22 …$this->assertEquals($grammar, Twig_Extensions_SimpleTokenParser::parseGrammar($str), '::parseGramm…28 Twig_Extensions_SimpleTokenParser::parseGrammar('<foo:foo>');35 Twig_Extensions_SimpleTokenParser::parseGrammar('<foo:foo');42 Twig_Extensions_SimpleTokenParser::parseGrammar('<foo:foo> (with');
30 $grammar = self::parseGrammar($grammar);97 public static function parseGrammar($str, $main = true) function in Twig_Extensions_SimpleTokenParser126 $grammar->addGrammar(self::parseGrammar($str, false));