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

Breadcrumb

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

function Parser::parseClassElementList

Parses class elements list

Return value

Node\MethodDefinition[]|null

1 call to Parser::parseClassElementList()
Parser::parseClassBody in vendor/mck89/peast/lib/Peast/Syntax/Parser.php
Parses the class body

File

vendor/mck89/peast/lib/Peast/Syntax/Parser.php, line 1773

Class

Parser
Parser class

Namespace

Peast\Syntax

Code

protected function parseClassElementList() {
    $items = array();
    while ($item = $this->parseClassElement()) {
        if ($item !== true) {
            $items[] = $item;
        }
    }
    return count($items) ? $items : null;
}

API Navigation

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