1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 02:07:37 +01:00
psalm/src/Psalm/Scope/IfScope.php

76 lines
1.3 KiB
PHP
Raw Normal View History

<?php
2017-12-03 00:28:18 +01:00
namespace Psalm\Scope;
use Psalm\Clause;
use Psalm\Type;
class IfScope
{
/**
* @var array<string, Type\Union>|null
*/
public $new_vars = null;
/**
2017-12-02 19:32:20 +01:00
* @var array<string, bool>
*/
public $new_vars_possibly_in_scope = [];
2017-05-27 02:16:18 +02:00
/**
* @var array<string, Type\Union>|null
*/
public $forced_new_vars = null;
/**
* @var array<string, Type\Union>|null
*/
public $redefined_vars = null;
/**
* @var array<string, Type\Union>
*/
public $possibly_redefined_vars = [];
/**
* @var array<string, bool>
*/
public $updated_vars = [];
/**
* @var array<string, string>
*/
public $negated_types = [];
2018-01-20 17:48:16 +01:00
/**
* @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>
*/
public $possible_param_types = null;
2017-12-03 00:28:18 +01:00
/**
* @var string[]
*/
public $final_actions = [];
}