Skip to content

Commit

Permalink
docs: Documentation for CitronLexer.currentPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
roop committed Oct 10, 2018
1 parent 74e05d2 commit b738b92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/CitronLexer.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ used as the generic parameter.
- [Tokenizing](#tokenizing)
- [`tokenize(_ string: String, onFound: Action)`](#tokenize_-string-string-onfound-action)
- [`tokenize(_ string: String, onFound: Action, onError: ErrorAction?)`](#tokenize_-string-string-onfound-action-onerror-erroraction)
- [Position](#position)
- [`currentPosition: CitronLexerPosition`](#currentposition-citronlexerposition)
- [Errors](#errors)
- [`noMatchingRuleAt(errorPosition: `[`CitronLexerPosition`]`)`](#nomatchingruleaterrorposition-citronlexerposition)
- [Usage with `CitronParser`](#usage-with-citronparser)
Expand Down Expand Up @@ -159,6 +161,12 @@ used as the generic parameter.
> - Any errors thrown in the `onFound` and `onError` action blocks
> will be prapagated up to the caller of this method.
## Position
### `currentPosition: `[`CitronLexerPosition`]
The current position of the lexer.
## Errors
### `.noMatchingRuleAt(errorPosition: `[`CitronLexerPosition`]`)`
Expand Down

0 comments on commit b738b92

Please sign in to comment.