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/ES2017/Features.php \Peast\Syntax\ES2017\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/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
ES2020 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/ ES2020/ Features.php, line 19
Namespace
Peast\Syntax\ES2020View source
class Features extends \Peast\Syntax\ES2019\Features {
/**
* Dynamic import
*
* @var bool
*/
public $dynamicImport = true;
/**
* BigInt literals
*
* @var bool
*/
public $bigInt = true;
/**
* Exported name for export all declarations
*
* @var bool
*/
public $exportedNameInExportAll = true;
/**
* Import.meta
*
* @var bool
*/
public $importMeta = true;
/**
* Coalescing operator
*
* @var bool
*/
public $coalescingOperator = true;
/**
* Optional chaining
*
* @var bool
*/
public $optionalChaining = true;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Features::$asyncAwait | public | property | Async/await |
Features::$asyncIterationGenerators | public | property | Async iteration and generators |
Features::$bigInt | public | property | BigInt literals |
Features::$coalescingOperator | public | property | Coalescing operator |
Features::$dynamicImport | public | property | Dynamic import |
Features::$exponentiationOperator | public | property | Exponentiation operator |
Features::$exportedNameInExportAll | public | property | Exported name for export all declarations |
Features::$forInInitializer | public | property | For-in initializer |
Features::$importMeta | public | property | Import.meta |
Features::$optionalCatchBinding | public | property | Optional catch binding |
Features::$optionalChaining | public | property | Optional chaining |
Features::$paragraphLineSepInStrings | public | property | Paragraph and line separator in strings |
Features::$restSpreadProperties | public | property | Rest/spread properties |
Features::$skipEscapeSeqCheckInTaggedTemplates | public | property | Skip escape sequences checks in tagged template |
Features::$trailingCommaFunctionCallDeclaration | public | property | Trailing comma in function calls and declarations |