Searched refs:nextIf (Results 1 – 10 of 10) sorted by path
/template/twigstarter/vendor/twig/twig/src/ |
H A D | ExpressionParser.php | 146 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 D | TokenStream.php | 61 public function nextIf($primary, $secondary = null) function in Twig\\TokenStream
|
/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
H A D | BlockTokenParser.php | 44 if ($stream->nextIf(/* Token::BLOCK_END_TYPE */ 3)) { 46 if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
|
H A D | ForTokenParser.php | 45 if ($stream->nextIf(/* Token::NAME_TYPE */ 5, 'if')) {
|
H A D | FromTokenParser.php | 36 if ($stream->nextIf('as')) { 42 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
|
H A D | IncludeTokenParser.php | 41 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 D | MacroTokenParser.php | 40 if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
|
H A D | SetTokenParser.php | 37 if ($stream->nextIf(/* Token::OPERATOR_TYPE */ 8, '=')) {
|
H A D | UseTokenParser.php | 43 if ($stream->nextIf('with')) { 48 if ($stream->nextIf('as')) { 54 if (!$stream->nextIf(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
|
H A D | WithTokenParser.php | 32 $only = (bool) $stream->nextIf(/* Token::NAME_TYPE */ 5, 'only');
|