Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Features.php

class Features

Same name in this branch
  1. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2024/Features.php \Peast\Syntax\ES2024\Features
  2. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2021/Features.php \Peast\Syntax\ES2021\Features
  3. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2017/Features.php \Peast\Syntax\ES2017\Features
  4. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2018/Features.php \Peast\Syntax\ES2018\Features
  5. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2019/Features.php \Peast\Syntax\ES2019\Features
  6. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2016/Features.php \Peast\Syntax\ES2016\Features
  7. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2022/Features.php \Peast\Syntax\ES2022\Features
  8. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2015/Features.php \Peast\Syntax\ES2015\Features
  9. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/ES2023/Features.php \Peast\Syntax\ES2023\Features
  10. 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
    • class \Peast\Syntax\ES2015\Features extends \Peast\Syntax\Features
      • class \Peast\Syntax\ES2016\Features extends \Peast\Syntax\ES2015\Features
        • class \Peast\Syntax\ES2017\Features extends \Peast\Syntax\ES2016\Features
          • class \Peast\Syntax\ES2018\Features extends \Peast\Syntax\ES2017\Features
            • class \Peast\Syntax\ES2019\Features extends \Peast\Syntax\ES2018\Features
              • class \Peast\Syntax\ES2020\Features extends \Peast\Syntax\ES2019\Features

Expanded class hierarchy of Features

File

vendor/mck89/peast/lib/Peast/Syntax/ES2020/Features.php, line 19

Namespace

Peast\Syntax\ES2020
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal