Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Lexer.php

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

... See full list

File

vendor/twig/twig/src/Lexer.php, line 535

Class

Lexer
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig

Code

private function moveCursor($text) : void {
    $this->cursor += \strlen($text);
    $this->lineno += substr_count($text, "\n");
}
RSS feed
Powered by Drupal