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

Breadcrumb

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

Property::$propertiesMap

Map of node properties

Type: array

Overrides Node::$propertiesMap

File

vendor/mck89/peast/lib/Peast/Syntax/Node/Property.php, line 25

Class

Property
A node that represents a property in an object literal. For example "b" in: a = {b: 1}

Namespace

Peast\Syntax\Node

Code

protected $propertiesMap = array(
    "key" => true,
    "value" => true,
    "kind" => false,
    "method" => false,
    "shorthand" => false,
    "computed" => false,
);
RSS feed
Powered by Drupal