protected function Twig_Lexer::pushState in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Lexer.php \Twig_Lexer::pushState()
3 calls to Twig_Lexer::pushState()
- Twig_Lexer::lexData in vendor/
twig/ twig/ lib/ Twig/ Lexer.php - Twig_Lexer::lexExpression in vendor/
twig/ twig/ lib/ Twig/ Lexer.php - Twig_Lexer::lexString in vendor/
twig/ twig/ lib/ Twig/ Lexer.php
File
- vendor/
twig/ twig/ lib/ Twig/ Lexer.php, line 397
Class
- Twig_Lexer
- Lexes a template string.
Code
protected function pushState($state) {
$this->states[] = $this->state;
$this->state = $state;
}