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

Breadcrumb

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

function SourceLocation::setEnd

Sets the end position

Parameters

Position $position End position:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/SourceLocation.php, line 74

Class

SourceLocation
This class represents a location in the source code with start and end position.

Namespace

Peast\Syntax

Code

public function setEnd(Position $position) {
    $this->end = $position;
    return $this;
}

API Navigation

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