parser
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
at_end(): * |
|
| public |
error(token: *, msg: *) |
|
| public |
expect(type: *, msg: *): * |
|
| public |
input(data: *) |
|
| public |
next(): * |
|
| public |
|
|
| public |
parse(data: *, err_on_unconsumed: *): * |
|
| public |
peek(): * |
|
| public |
peeknext(): * |
|
Public Constructors
public constructor() source
Public Methods
public error(token: *, msg: *) source
Params:
| Name | Type | Attribute | Description |
| token | * | ||
| msg | * |
public expect(type: *, msg: *): * source
Params:
| Name | Type | Attribute | Description |
| type | * | ||
| msg | * |
Return:
| * |
public input(data: *) source
Params:
| Name | Type | Attribute | Description |
| data | * |
public parse(data: *, err_on_unconsumed: *): * source
Params:
| Name | Type | Attribute | Description |
| data | * | ||
| err_on_unconsumed | * |
Return:
| * |
