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

Breadcrumb

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

function Token::setEndPosition

Sets the end position of the token in the source code

Parameters

Position $position End position:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Token.php, line 178

Class

Token
A token emitted by the tokenizer.

Namespace

Peast\Syntax

Code

public function setEndPosition(Position $position) {
    $this->location->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