class Error
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/TestStatus/Error.php \PHPUnit\Framework\TestStatus\Error
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Error.php \PhpParser\Error
- 11.1.x vendor/twig/twig/src/Error/Error.php \Twig\Error\Error
- 11.1.x core/lib/Drupal/Core/Utility/Error.php \Drupal\Core\Utility\Error
Error node used during parsing with error recovery.
An error node may be placed at a position where an expression is required, but an error occurred. Error nodes will not be present if the parser is run in throwOnError mode (the default).
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
Expanded class hierarchy of Error
60 string references to 'Error'
- AbstractWebDriver::curl in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ AbstractWebDriver.php - Curl request to webdriver server.
- Application::doRun in vendor/
symfony/ console/ Application.php - Runs the current application.
- Auditor::audit in vendor/
composer/ composer/ src/ Composer/ Advisory/ Auditor.php - Checkstyle::generateFileReport in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Checkstyle.php - Generate a partial report for a single processed file.
- Code::generateFileReport in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Code.php - Generate a partial report for a single processed file.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Expr/ Error.php, line 13
Namespace
PhpParser\Node\ExprView source
class Error extends Expr {
/**
* Constructs an error node.
*
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(array $attributes = []) {
$this->attributes = $attributes;
}
public function getSubNodeNames() : array {
return [];
}
public function getType() : string {
return 'Expr_Error';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Error::getSubNodeNames | public | function | |
Error::getType | public | function | |
Error::__construct | public | function | Constructs an error node. |