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

Breadcrumb

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

class Line

Same name in this branch
  1. 11.1.x vendor/sebastian/diff/src/Line.php \SebastianBergmann\Diff\Line

Hierarchy

  • class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
    • class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
      • class \PhpParser\Node\Scalar extends \PhpParser\Node\Expr
        • class \PhpParser\Node\Scalar\MagicConst extends \PhpParser\Node\Scalar
          • class \PhpParser\Node\Scalar\MagicConst\Line extends \PhpParser\Node\Scalar\MagicConst

Expanded class hierarchy of Line

18 string references to 'Line'
Checkstyle::generateFileReport in vendor/squizlabs/php_codesniffer/src/Reports/Checkstyle.php
Generate a partial report for a single processed file.
ClassDeclarationSniff::processOpen in vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php
Processes the opening section of a class declaration.
Clover::process in vendor/phpunit/php-code-coverage/src/Report/Clover.php
Cobertura::process in vendor/phpunit/php-code-coverage/src/Report/Cobertura.php
CommentedOutCodeSniff::process in vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php
Processes this test, when one of its tokens is encountered.

... See full list

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php, line 7

Namespace

PhpParser\Node\Scalar\MagicConst
View source
class Line extends MagicConst {
    public function getName() : string {
        return '__LINE__';
    }
    public function getType() : string {
        return 'Scalar_MagicConst_Line';
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Line::getName public function Get name of magic constant. Overrides MagicConst::getName
Line::getType public function
MagicConst::getSubNodeNames public function
MagicConst::__construct public function Constructs a magic constant node.

API Navigation

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