Function __global->js_check_assignment

Definitions

sources/webstandards_js_lint.php

  • Check an assignment statement.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$c array No No required parameter N/A N/A The complex assignment details
$c_pos integer No No required parameter N/A N/A The position this is at in the parse

Returns

  • The assigned type
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Check an assignment statement.
 *
 * @param  array $c The complex assignment details
 * @param  integer $c_pos The position this is at in the parse
 * @return string The assigned type
 */

function js_check_assignment(array $c, int $c_pos) : string