mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 02:07:37 +01:00
81 lines
1.4 KiB
PHP
81 lines
1.4 KiB
PHP
<?php
|
|
namespace Psalm\Scope;
|
|
|
|
use Psalm\Clause;
|
|
use Psalm\Type;
|
|
|
|
class IfScope
|
|
{
|
|
/**
|
|
* @var array<string, Type\Union>|null
|
|
*/
|
|
public $new_vars = null;
|
|
|
|
/**
|
|
* @var array<string, bool>
|
|
*/
|
|
public $new_vars_possibly_in_scope = [];
|
|
|
|
/**
|
|
* @var array<string, Type\Union>|null
|
|
*/
|
|
public $forced_new_vars = null;
|
|
|
|
/**
|
|
* @var array<string, Type\Union>|null
|
|
*/
|
|
public $redefined_vars = null;
|
|
|
|
/**
|
|
* @var array<string, bool>|null
|
|
*/
|
|
public $assigned_var_ids = null;
|
|
|
|
/**
|
|
* @var array<string, Type\Union>
|
|
*/
|
|
public $possibly_redefined_vars = [];
|
|
|
|
/**
|
|
* @var array<string, bool>
|
|
*/
|
|
public $updated_vars = [];
|
|
|
|
/**
|
|
* @var array<string, string>
|
|
*/
|
|
public $negated_types = [];
|
|
|
|
/**
|
|
* @var array<mixed, string>
|
|
*/
|
|
public $if_cond_changed_var_ids = [];
|
|
|
|
/**
|
|
* @var array<string, string>|null
|
|
*/
|
|
public $negatable_if_types = null;
|
|
|
|
/**
|
|
* @var array<int, Clause>
|
|
*/
|
|
public $negated_clauses;
|
|
|
|
/**
|
|
* @var array<int, Clause>
|
|
*/
|
|
public $reasonable_clauses = [];
|
|
|
|
/**
|
|
* Variables that were mixed, but are no longer
|
|
*
|
|
* @var array<string, Type\Union>|null
|
|
*/
|
|
public $possible_param_types = null;
|
|
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $final_actions = [];
|
|
}
|