Home
last modified time | relevance | path

Searched refs:nextIf (Results 1 – 10 of 10) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DIncludeTokenParser.php41 if ($stream->nextIf(/* Token::NAME_TYPE */ 5, 'ignore')) {
48 if ($stream->nextIf(/* Token::NAME_TYPE */ 5, 'with')) {
53 if ($stream->nextIf(/* Token::NAME_TYPE */ 5, 'only')) {
H A DUseTokenParser.php43 if ($stream->nextIf('with')) {
48 if ($stream->nextIf('as')) {
54 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
H A DFromTokenParser.php36 if ($stream->nextIf('as')) {
42 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
H A DBlockTokenParser.php44 if ($stream->nextIf(/* Token::BLOCK_END_TYPE */ 3)) {
46 if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
H A DWithTokenParser.php32 $only = (bool) $stream->nextIf(/* Token::NAME_TYPE */ 5, 'only');
H A DSetTokenParser.php37 if ($stream->nextIf(/* Token::OPERATOR_TYPE */ 8, '=')) {
H A DMacroTokenParser.php40 if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
H A DForTokenParser.php45 if ($stream->nextIf(/* Token::NAME_TYPE */ 5, 'if')) {
/template/twigstarter/vendor/twig/twig/src/
H A DExpressionParser.php146 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
180 while ($this->parser->getStream()->nextIf(/* Token::PUNCTUATION_TYPE */ 9, '?')) {
181 if (!$this->parser->getStream()->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ':')) {
183 if ($this->parser->getStream()->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ':')) {
300 if ($nextCanBeString && $token = $stream->nextIf(/* Token::STRING_TYPE */ 7)) {
303 } elseif ($stream->nextIf(/* Token::INTERPOLATION_START_TYPE */ 10)) {
369 if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
378 …} elseif (($token = $stream->nextIf(/* Token::STRING_TYPE */ 7)) || $token = $stream->nextIf(/* To…
518 if ($stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ':')) {
665 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
[all …]
H A DTokenStream.php61 public function nextIf($primary, $secondary = null) function in Twig\\TokenStream