diff --git a/docs/classes.md b/docs/classes.md index 971bf12..3a69f73 100644 --- a/docs/classes.md +++ b/docs/classes.md @@ -189,7 +189,7 @@ When using a lexer, the resulting tokens in the trees will be of the Token class * `line` - The line of the token in the text (starting with 1) * `column` - The column of the token in the text (starting with 1) * `end_line` - The line where the token ends -* `end_column` - The column where the token ends +* `end_column` - The next column after the end of the token. For example, if the token is a single character with a `column` value of 4, `end_column` will be 5. ## UnexpectedInput @@ -216,4 +216,4 @@ Accepts the parse function (usually `lark_instance.parse`) and a dictionary of ` The function will iterate the dictionary until it finds a matching error, and return the corresponding value. -For an example usage, see: [examples/error_reporting_lalr.py](https://github.com/lark-parser/lark/blob/master/examples/error_reporting_lalr.py) \ No newline at end of file +For an example usage, see: [examples/error_reporting_lalr.py](https://github.com/lark-parser/lark/blob/master/examples/error_reporting_lalr.py)