Function __global->_webstandards_js_parse_comma_expressions

Definitions

sources/webstandards_js_parse.php

  • Return parse info for parse type.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$allow_blanks boolean No No False N/A N/A Whether to allow blanks in the list
$closer string No No PARENTHESIS_CLOSE N/A N/A The token to close the list

Returns

  • Parse info (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Return parse info for parse type.
 *
 * @param  boolean $allow_blanks Whether to allow blanks in the list
 * @param  string $closer The token to close the list
 * @return ?array Parse info (null: error)
 */

function _webstandards_js_parse_comma_expressions(bool $allow_blanks = false, string $closer = 'PARENTHESIS_CLOSE') : ?array