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/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
Parser 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/ Features.php, line 19
Namespace
Peast\SyntaxView source
class Features {
/**
* Exponentiation operator
*
* @var bool
*/
public $exponentiationOperator = false;
/**
* Async/await
*
* @var bool
*/
public $asyncAwait = false;
/**
* Trailing comma in function calls and declarations
*
* @var bool
*/
public $trailingCommaFunctionCallDeclaration = false;
/**
* For-in initializer
*
* @var bool
*/
public $forInInitializer = false;
/**
* Async iteration and generators
*
* @var bool
*/
public $asyncIterationGenerators = false;
/**
* Rest/spread properties
*
* @var bool
*/
public $restSpreadProperties = false;
/**
* Skip escape sequences checks in tagged template
*
* @var bool
*/
public $skipEscapeSeqCheckInTaggedTemplates = false;
/**
* Optional catch binding
*
* @var bool
*/
public $optionalCatchBinding = false;
/**
* Paragraph and line separator in strings
*
* @var bool
*/
public $paragraphLineSepInStrings = false;
/**
* Dynamic import
*
* @var bool
*/
public $dynamicImport = false;
/**
* BigInt literals
*
* @var bool
*/
public $bigInt = false;
/**
* Exported name for export all declarations
*
* @var bool
*/
public $exportedNameInExportAll = false;
/**
* Import.meta
*
* @var bool
*/
public $importMeta = false;
/**
* Coalescing operator
*
* @var bool
*/
public $coalescingOperator = false;
/**
* Optional chaining
*
* @var bool
*/
public $optionalChaining = false;
/**
* Logical assignment operators
*
* @var bool
*/
public $logicalAssignmentOperators = false;
/**
* Numeric literal separator
*
* @var bool
*/
public $numericLiteralSeparator = false;
/**
* Private methods and fields
*
* @var bool
*/
public $privateMethodsAndFields = false;
/**
* Class fields
*
* @var bool
*/
public $classFields = false;
/**
* "in" operator for private fields
*
* @var bool
*/
public $classFieldsPrivateIn = false;
/**
* Top level await
*
* @var bool
*/
public $topLevelAwait = false;
/**
* Class static block
*
* @var bool
*/
public $classStaticBlock = false;
/**
* Arbitrary module namespace identifier names
*
* @var bool
*/
public $arbitraryModuleNSNames = false;
/**
* Hashbang comments
*
* @var bool
*/
public $hashbangComments = false;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Features::$arbitraryModuleNSNames | public | property | Arbitrary module namespace identifier names |
Features::$asyncAwait | public | property | Async/await |
Features::$asyncIterationGenerators | public | property | Async iteration and generators |
Features::$bigInt | public | property | BigInt literals |
Features::$classFields | public | property | Class fields |
Features::$classFieldsPrivateIn | public | property | "in" operator for private fields |
Features::$classStaticBlock | public | property | Class static block |
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::$hashbangComments | public | property | Hashbang comments |
Features::$importMeta | public | property | Import.meta |
Features::$logicalAssignmentOperators | public | property | Logical assignment operators |
Features::$numericLiteralSeparator | public | property | Numeric literal separator |
Features::$optionalCatchBinding | public | property | Optional catch binding |
Features::$optionalChaining | public | property | Optional chaining |
Features::$paragraphLineSepInStrings | public | property | Paragraph and line separator in strings |
Features::$privateMethodsAndFields | public | property | Private methods and fields |
Features::$restSpreadProperties | public | property | Rest/spread properties |
Features::$skipEscapeSeqCheckInTaggedTemplates | public | property | Skip escape sequences checks in tagged template |
Features::$topLevelAwait | public | property | Top level await |
Features::$trailingCommaFunctionCallDeclaration | public | property | Trailing comma in function calls and declarations |