this | | |
mark | | Returns: a mark at the current position that can then be used with slice. |
seek | | Sets the range to the given position.
|
slice | | Returs a slice of the input byte array between the given mark and the
current position.
Params m = the beginning index of the slice to return |
empty | | Implements the range primitive _empty. |
front | | Implements the range primitive _front. |
peek | | Returns: the current item as well as the items p items ahead. |
peekAt | | |
canPeek | | Returns: true if it is possible to peek p bytes ahead. |
popFront | | Implements the range primitive _popFront. |
popFrontN | | Implements the algorithm _popFrontN more efficiently. This function does
not detect or handle newlines. |
incrementLine | | Increments the range's line number and resets the column counter. |