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

Breadcrumb

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

function Location::getSpan

Always has exactly three or four elements: start line, start column, end line (optional, otherwise assumed same as start line), end column. These are packed into a single field for efficiency. Note that line and column numbers are zero-based -- typically you will want to add 1 to each before displaying to a user.

Generated from protobuf field <code>repeated int32 span = 2 [packed = true];</code>

Return value

\Google\Protobuf\Internal\RepeatedField

File

vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php, line 260

Class

Location
Generated from protobuf message <code>google.protobuf.SourceCodeInfo.Location</code>

Namespace

Google\Protobuf\Internal\SourceCodeInfo

Code

public function getSpan() {
    return $this->span;
}

API Navigation

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