Function __global->lex__get_next_char
Definitions
sources/webstandards_js_lex.php
- Get the next character while lexing.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $i | integer | No | No | required parameter | N/A | N/A | Get character at this position |
Returns
- Get triplet about the next character (whether end reached, new position, character)
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the next character while lexing.
*
* @param integer $i Get character at this position
* @return array Get triplet about the next character (whether end reached, new position, character)
*/
function lex__get_next_char(int $i) : array
* Get the next character while lexing.
*
* @param integer $i Get character at this position
* @return array Get triplet about the next character (whether end reached, new position, character)
*/
function lex__get_next_char(int $i) : array

