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

Breadcrumb

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

function Position::__construct

Class constructor

Parameters

int $line Source line:

int $column Source column:

int $index Source index:

File

vendor/mck89/peast/lib/Peast/Syntax/Position.php, line 47

Class

Position
This class represents the position in the source code.

Namespace

Peast\Syntax

Code

function __construct($line, $column, $index) {
    $this->line = $line;
    $this->column = $column;
    $this->index = $index;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal