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

Breadcrumb

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

function Parser::parseArguments

Parses an arguments list wrapped in round brackets

Return value

array|null

2 calls to Parser::parseArguments()
Parser::parseLeftHandSideExpression in vendor/mck89/peast/lib/Peast/Syntax/Parser.php
Parses a left hand side expression
Parser::parseSuperPropertyOrCall in vendor/mck89/peast/lib/Peast/Syntax/Parser.php
Parses a super call or a super property

File

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

Class

Parser
Parser class

Namespace

Peast\Syntax

Code

protected function parseArguments() {
    if ($this->scanner
        ->consume("(")) {
        if (($args = $this->parseArgumentList()) !== null && $this->scanner
            ->consume(")")) {
            return $args;
        }
        $this->error();
    }
    return null;
}

API Navigation

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