You are here

protected function Twig_Lexer::pushState in Translation template extractor 7.2

Same name and namespace in other branches
  1. 6.3 vendor/Twig/Lexer.php \Twig_Lexer::pushState()
  2. 7.3 vendor/Twig/Lexer.php \Twig_Lexer::pushState()
3 calls to Twig_Lexer::pushState()
Twig_Lexer::lexData in vendor/Twig/Lexer.php
Twig_Lexer::lexExpression in vendor/Twig/Lexer.php
Twig_Lexer::lexString in vendor/Twig/Lexer.php

File

vendor/Twig/Lexer.php, line 393

Class

Twig_Lexer
Lexes a template string.

Code

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