Function __global->parser_peek

Definitions

sources/webstandards_js_parse.php

  • Peek to find the next token.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

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

Return

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