function Lexer::moveCursor
8 calls to Lexer::moveCursor()
- Lexer::lexBlock in vendor/
twig/ twig/ src/ Lexer.php - Lexer::lexComment in vendor/
twig/ twig/ src/ Lexer.php - Lexer::lexData in vendor/
twig/ twig/ src/ Lexer.php - Lexer::lexExpression in vendor/
twig/ twig/ src/ Lexer.php - Lexer::lexInterpolation in vendor/
twig/ twig/ src/ Lexer.php
File
-
vendor/
twig/ twig/ src/ Lexer.php, line 535
Class
- Lexer
- @author Fabien Potencier <fabien@symfony.com>
Namespace
TwigCode
private function moveCursor($text) : void {
$this->cursor += \strlen($text);
$this->lineno += substr_count($text, "\n");
}