Function __global->parser_expect
Definitions
sources/webstandards_js_parse.php
- Expect a token during parsing. Give error if not found. Else give token parameters.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$token | string | required parameter | N/A | N/A | The token we want |
Return
- The token parameters (null: error)
- Type: ?mixed
- Set: N/A
- Range: N/A