Lines Matching refs:Expr
9 use PhpParser\Node\Expr; alias
2180 public Expr $expr;
2188 …public static function createFromExpression(Expr $expr, ?SimpleType $constType, ?string $cConstNam…
2207 if (!$expr instanceof Expr\ConstFetch && !$expr instanceof Expr\ClassConstFetch) {
2211 if ($expr instanceof Expr\ClassConstFetch) {
2236 static function (Expr $expr) use ($allConstInfos, &$isUnknownConstValue) {
2238 if (!$expr instanceof Expr\ConstFetch) {
2280 $cConstName === null ? $expr : new Expr\ConstFetch(new Node\Name($cConstName)),
2288 … return new self(null, SimpleType::null(), new Expr\ConstFetch(new Node\Name('null')), [], false);
2295 …private function __construct($value, SimpleType $type, Expr $expr, array $originatingConsts, bool …
2550 public Expr $value;
2564 Expr $value,
2699 …if ($value->isUnknownConstValue && $this->cValue === null && $value->expr instanceof Expr\ConstFet…
2916 public ?Expr $defaultValue;
2930 ?Expr $defaultValue,
3098 public ?Expr $value;
3100 public function __construct(string $name, ?Expr $value) {
4303 if ($param->default instanceof Expr\ConstFetch &&
4313 …if ($param->default instanceof Expr\ClassConstFetch && $param->default->class->toLowerString() ===…
4420 if ($const->value instanceof Expr\ConstFetch &&
4488 if ($property->default instanceof Expr\ConstFetch &&
4830 if ($expr instanceof Expr\Include_) {