Lines Matching refs:Expr
9 use PhpParser\Node\Expr; alias
2175 public Expr $expr;
2183 …public static function createFromExpression(Expr $expr, ?SimpleType $constType, ?string $cConstNam…
2202 if (!$expr instanceof Expr\ConstFetch && !$expr instanceof Expr\ClassConstFetch) {
2206 if ($expr instanceof Expr\ClassConstFetch) {
2231 static function (Expr $expr) use ($allConstInfos, &$isUnknownConstValue) {
2233 if (!$expr instanceof Expr\ConstFetch) {
2275 $cConstName === null ? $expr : new Expr\ConstFetch(new Node\Name($cConstName)),
2283 … return new self(null, SimpleType::null(), new Expr\ConstFetch(new Node\Name('null')), [], false);
2290 …private function __construct($value, SimpleType $type, Expr $expr, array $originatingConsts, bool …
2545 public Expr $value;
2559 Expr $value,
2694 …if ($value->isUnknownConstValue && $this->cValue === null && $value->expr instanceof Expr\ConstFet…
2911 public ?Expr $defaultValue;
3019 ?Expr $defaultValue,
3237 public ?Expr $value;
3239 public function __construct(string $name, ?Expr $value) {
4442 if ($param->default instanceof Expr\ConstFetch &&
4452 …if ($param->default instanceof Expr\ClassConstFetch && $param->default->class->toLowerString() ===…
4559 if ($const->value instanceof Expr\ConstFetch &&
4627 if ($property->default instanceof Expr\ConstFetch &&
4969 if ($expr instanceof Expr\Include_) {