Function __global->parser_next

Definitions

sources/webstandards_js_parse.php

  • Find the next token and move on.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$all boolean No No False N/A N/A Whether we want all the token parameters (as opposed to just the first)

Returns

  • All the token parameters, or just the first (null: error)
  • Type: ?mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find the next token and move on.
 *
 * @param  boolean $all Whether we want all the token parameters (as opposed to just the first)
 * @return ?mixed All the token parameters, or just the first (null: error)
 */

function parser_next(bool $all = false)