Function __global->_webstandards_js_parse_comma_parameters

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_expressions boolean No No True N/A N/A Whether to allow expressions in this
$closer string No No PARENTHESIS_CLOSE N/A N/A The token to close the list
$separator string No No EQUAL N/A N/A The token that sits as the 'separator' between name and value

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_expressions Whether to allow expressions in this
 * @param  string $closer The token to close the list
 * @param  string $separator The token that sits as the 'separator' between name and value
 * @return ?array Parse info (null: error)
 */

function _webstandards_js_parse_comma_parameters(bool $allow_expressions = true, string $closer = 'PARENTHESIS_CLOSE', string $separator = 'EQUAL') : ?array