Function __global->parser_peek_dist
Definitions
sources/webstandards_js_parse.php
- Peek to find the next token after a distance.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$d | integer | required parameter | N/A | N/A | The distance |
$p | ?integer | Null | N/A | N/A | Whether to start looking from (null: current position in parse) |
Return
- The first token parameter (null: error)
- Type: ?mixed
- Set: N/A
- Range: N/A