class Features
Same name in this branch
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2024/Features.php \Peast\Syntax\ES2024\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2021/Features.php \Peast\Syntax\ES2021\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2018/Features.php \Peast\Syntax\ES2018\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2019/Features.php \Peast\Syntax\ES2019\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2020/Features.php \Peast\Syntax\ES2020\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2016/Features.php \Peast\Syntax\ES2016\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2022/Features.php \Peast\Syntax\ES2022\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2015/Features.php \Peast\Syntax\ES2015\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2023/Features.php \Peast\Syntax\ES2023\Features
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Features.php \Peast\Syntax\Features
ES2017 features class
@author Marco Marchiò <marco.mm89@gmail.com>
@codeCoverageIgnore
Hierarchy
- class \Peast\Syntax\Features
Expanded class hierarchy of Features
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ ES2017/ Features.php, line 19
Namespace
Peast\Syntax\ES2017View source
class Features extends \Peast\Syntax\ES2016\Features {
/**
* Async/await
*
* @var bool
*/
public $asyncAwait = true;
/**
* Trailing comma in function calls and declarations
*
* @var bool
*/
public $trailingCommaFunctionCallDeclaration = true;
/**
* For-in initializer
*
* @var bool
*/
public $forInInitializer = true;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Features::$asyncAwait | public | property | Async/await |
Features::$exponentiationOperator | public | property | Exponentiation operator |
Features::$forInInitializer | public | property | For-in initializer |
Features::$trailingCommaFunctionCallDeclaration | public | property | Trailing comma in function calls and declarations |