Home
last modified time | relevance | path

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

/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DIncludeTokenParser.php41 if ($stream->nextIf(Token::NAME_TYPE, 'ignore')) {
48 if ($stream->nextIf(Token::NAME_TYPE, 'with')) {
53 if ($stream->nextIf(Token::NAME_TYPE, 'only')) {
H A DUseTokenParser.php45 if ($stream->nextIf('with')) {
50 if ($stream->nextIf('as')) {
56 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
H A DFromTokenParser.php39 if ($stream->nextIf('as')) {
45 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
H A DBlockTokenParser.php46 if ($stream->nextIf(Token::BLOCK_END_TYPE)) {
48 if ($token = $stream->nextIf(Token::NAME_TYPE)) {
H A DWithTokenParser.php34 $only = $stream->nextIf(Token::NAME_TYPE, 'only');
H A DSetTokenParser.php39 if ($stream->nextIf(Token::OPERATOR_TYPE, '=')) {
H A DMacroTokenParser.php41 if ($token = $stream->nextIf(Token::NAME_TYPE)) {
H A DForTokenParser.php46 if ($stream->nextIf(Token::NAME_TYPE, 'if')) {
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DExpressionParser.php125 while ($this->parser->getStream()->nextIf(Token::PUNCTUATION_TYPE, '?')) {
126 if (!$this->parser->getStream()->nextIf(Token::PUNCTUATION_TYPE, ':')) {
128 if ($this->parser->getStream()->nextIf(Token::PUNCTUATION_TYPE, ':')) {
247 if ($nextCanBeString && $token = $stream->nextIf(Token::STRING_TYPE)) {
250 } elseif ($stream->nextIf(Token::INTERPOLATION_START_TYPE)) {
316 …if (($token = $stream->nextIf(Token::STRING_TYPE)) || ($token = $stream->nextIf(Token::NAME_TYPE))…
460 if ($stream->nextIf(Token::PUNCTUATION_TYPE, ':')) {
548 if ($namedArguments && $token = $stream->nextIf(Token::OPERATOR_TYPE, '=')) {
596 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
609 if (!$this->parser->getStream()->nextIf(Token::PUNCTUATION_TYPE, ',')) {
H A DTokenStream.php83 public function nextIf($primary, $secondary = null) function in Twig\\TokenStream