Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Split mark and span from `src/tokens.jl` * Add iteration and indexing to `Span`. * Add methods to get start mark and end mark from tokens. * Replace `token.span.start_mark` and `token.span.end_mark` to `firstmark(token)` and `lastmark(token)`. * Fix existing bugs about getting marks from tokens. * Replace remained expressions. * Remove methods for `Span`. * Add a show function to spans.
- Loading branch information