Document lexer (#2865)

* Update dependencies

* Document the lexer and lightly improve its names

The bulk of this pull request adds a substantial amount of new inline
documentation for the lexer. Along the way, I made a few minor changes
to the names in the lexer, most of which were internal.

The main change that affects other files is renaming `group` to `block`,
since the function is actually parsing a block (a list of groups).

* Fix rustfmt

* Update lock

Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
Co-authored-by: Jonathan Turner <jonathan.d.turner@gmail.com>
This commit is contained in:
Yehuda Katz
2021-01-06 19:03:00 -08:00
committed by GitHub
parent eb62fd466e
commit f410fb6689
12 changed files with 262 additions and 121 deletions

View File

@ -13,7 +13,7 @@ doctest = false
derive-new = "0.5.8"
getset = "0.1.1"
pretty = "0.5.2"
serde = {version = "1.0.115", features = ["derive"]}
termcolor = "1.1.0"
serde = {version = "1.0.118", features = ["derive"]}
termcolor = "1.1.2"
[build-dependencies]