You are here

protected function Twig_Lexer::pushState in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Lexer.php \Twig_Lexer::pushState()
  2. 7.2 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 395

Class

Twig_Lexer
Lexes a template string.

Code

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