Commit Graph

5 Commits

Author SHA1 Message Date
Qi Xiao
980bc4792d parse: Cleanups.
* Unexport the Parser type, and remove an unused field.

* parse.ParseAs -> parse.As; parse.Parse -> parse.AsChunk.
2018-10-13 17:27:39 +01:00
Qi Xiao
0904d79658 parse: Cosmetics. 2018-10-13 17:17:18 +01:00
Qi Xiao
7e5be2d893 parse: Remove boilerplate.{py,go}. 2018-10-13 16:41:00 +01:00
Qi Xiao
0a0b09655e parse: Remove Begin() and End() from Node.
These are superseded by the n.Range().From and n.Range().To.
2018-10-13 14:07:54 +01:00
Qi Xiao
6c420c5709 Move more things to edit/parseutil. 2018-02-08 23:30:55 -08:00