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

Breadcrumb

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

class HaltCompiler

Hierarchy

  • class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
    • class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
      • class \PhpParser\Node\Stmt\HaltCompiler extends \PhpParser\Node\Stmt

Expanded class hierarchy of HaltCompiler

File

vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php, line 7

Namespace

PhpParser\Node\Stmt
View source
class HaltCompiler extends Stmt {
    
    /** @var string Remaining text after halt compiler statement. */
    public string $remaining;
    
    /**
     * Constructs a __halt_compiler node.
     *
     * @param string $remaining Remaining text after halt compiler statement.
     * @param array<string, mixed> $attributes Additional attributes
     */
    public function __construct(string $remaining, array $attributes = []) {
        $this->attributes = $attributes;
        $this->remaining = $remaining;
    }
    public function getSubNodeNames() : array {
        return [
            'remaining',
        ];
    }
    public function getType() : string {
        return 'Stmt_HaltCompiler';
    }

}

Members

Title Sort descending Modifiers Object type Summary
HaltCompiler::$remaining public property @var string Remaining text after halt compiler statement.
HaltCompiler::getSubNodeNames public function
HaltCompiler::getType public function
HaltCompiler::__construct public function Constructs a __halt_compiler node.

API Navigation

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