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

Breadcrumb

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

function Node::getStartFilePos

Gets the file offset of the first character that is part of this node.

Requires the 'startFilePos' attribute to be enabled in the lexer (DISABLED by default).

Return value

int File start position (or -1 if not available)

1 method overrides Node::getStartFilePos()
NodeAbstract::getStartFilePos in vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php
Gets the file offset of the first character that is part of this node.

File

vendor/nikic/php-parser/lib/PhpParser/Node.php, line 80

Class

Node

Namespace

PhpParser

Code

public function getStartFilePos() : int;
RSS feed
Powered by Drupal