PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
phpstan
/
phpdoc-parser
/
src
/
Ast
/
PhpDoc
<?php declare (strict_types=1); namespace PHPStan\PhpDocParser\Ast\PhpDoc; use PHPStan\PhpDocParser\Ast\NodeAttributes; use PHPStan\PhpDocParser\Parser\ParserException; use function sprintf; use function trigger_error; use const E_USER_WARNING; /** * @property ParserException $exception */ class InvalidTagValueNode implements \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode { use NodeAttributes; /** @var string (may be empty) */ public $value; /** @var mixed[] */ private $exceptionArgs; public function __construct(string $value, ParserException $exception) { $this->value = $value; $this->exceptionArgs = [$exception->getCurrentTokenValue(), $exception->getCurrentTokenType(), $exception->getCurrentOffset(), $exception->getExpectedTokenType(), $exception->getExpectedTokenValue(), $exception->getCurrentTokenLine()]; } public function __get(string $name) : ?ParserException { if ($name !== 'exception') { trigger_error(sprintf('Undefined property: %s::$%s', self::class, $name), E_USER_WARNING); return null; } return new ParserException(...$this->exceptionArgs); } public function __toString() : string { return $this->value; } }
[-] MethodTagValueNode.php
[edit]
[-] ParamTagValueNode.php
[edit]
[-] MixinTagValueNode.php
[edit]
[-] ImplementsTagValueNode.php
[edit]
[-] DeprecatedTagValueNode.php
[edit]
[-] TypelessParamTagValueNode.php
[edit]
[-] AssertTagPropertyValueNode.php
[edit]
[+]
..
[-] TypeAliasImportTagValueNode.php
[edit]
[-] ParamOutTagValueNode.php
[edit]
[-] PropertyTagValueNode.php
[edit]
[-] ExtendsTagValueNode.php
[edit]
[-] TemplateTagValueNode.php
[edit]
[-] PhpDocNode.php
[edit]
[-] VarTagValueNode.php
[edit]
[-] InvalidTagValueNode.php
[edit]
[-] PhpDocTextNode.php
[edit]
[+]
Doctrine
[-] PureUnlessCallableIsImpureTagValueNode.php
[edit]
[-] ParamImmediatelyInvokedCallableTagValueNode.php
[edit]
[-] RequireImplementsTagValueNode.php
[edit]
[-] PhpDocTagNode.php
[edit]
[-] AssertTagMethodValueNode.php
[edit]
[-] UsesTagValueNode.php
[edit]
[-] ParamLaterInvokedCallableTagValueNode.php
[edit]
[-] TypeAliasTagValueNode.php
[edit]
[-] MethodTagValueParameterNode.php
[edit]
[-] AssertTagValueNode.php
[edit]
[-] ReturnTagValueNode.php
[edit]
[-] GenericTagValueNode.php
[edit]
[-] SelfOutTagValueNode.php
[edit]
[-] PhpDocTagValueNode.php
[edit]
[-] PhpDocChildNode.php
[edit]
[-] RequireExtendsTagValueNode.php
[edit]
[-] ParamClosureThisTagValueNode.php
[edit]
[-] ThrowsTagValueNode.php
[edit]