protected function Twig_Lexer::pushState

3 calls to Twig_Lexer::pushState()
Twig_Lexer::lexData in drupal/core/vendor/twig/twig/lib/Twig/Lexer.php
Twig_Lexer::lexExpression in drupal/core/vendor/twig/twig/lib/Twig/Lexer.php
Twig_Lexer::lexString in drupal/core/vendor/twig/twig/lib/Twig/Lexer.php

File

drupal/core/vendor/twig/twig/lib/Twig/Lexer.php, line 394

Class

Twig_Lexer
Lexes a template string.

Code

protected function pushState($state) {
  $this->states[] = $this->state;
  $this->state = $state;
}