Function __global->js_check_call

Definitions

sources/webstandards_js_lint.php

  • Check a function call.
  • 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 (possibly complex) variable that is the function identifier
$c_pos integer No No required parameter N/A N/A The position this is at in the parse
$class ?string No No Null N/A N/A The class the given variable is in (null: global/as-specified-internally-in-c)

Returns

  • The return type (null: nothing returned)
  • Type: ?string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Check a function call.
 *
 * @param  array $c The (possibly complex) variable that is the function identifier
 * @param  integer $c_pos The position this is at in the parse
 * @param  ?string $class The class the given variable is in (null: global/as-specified-internally-in-c)
 * @return ?string The return type (null: nothing returned)
 */

function js_check_call(array $c, int $c_pos, ?string $class = null) : ?string