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

Breadcrumb

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

class NewExpression

A node that represents a "new" expression. For example: new test()

@author Marco Marchiò <marco.mm89@gmail.com>

Hierarchy

  • class \Peast\Syntax\Node\Node implements \Peast\Syntax\Node\JSONSerializable
    • class \Peast\Syntax\Node\ChainElement extends \Peast\Syntax\Node\Node implements \Peast\Syntax\Node\Expression
      • class \Peast\Syntax\Node\CallExpression extends \Peast\Syntax\Node\ChainElement
        • class \Peast\Syntax\Node\NewExpression extends \Peast\Syntax\Node\CallExpression

Expanded class hierarchy of NewExpression

2 string references to 'NewExpression'
Parser::parseLeftHandSideExpression in vendor/mck89/peast/lib/Peast/Syntax/Parser.php
Parses a left hand side expression
Renderer::renderNode in vendor/mck89/peast/lib/Peast/Renderer.php
Renders a node

File

vendor/mck89/peast/lib/Peast/Syntax/Node/NewExpression.php, line 18

Namespace

Peast\Syntax\Node
View source
class NewExpression extends CallExpression {

}

API Navigation

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