Commit Graph

4 Commits (64caa95b6ac2df7d4888b0fc239673f45a5f2fbf)

Author SHA1 Message Date
Adrien Vergé 48c7d65c54 parser: Provide nextnext for token rules
Because the indentation rule sometimes needs to look two tokens forward
(in case of anchors for instance).
10 years ago
Adrien Vergé 044c049462 Doc: Document rules 10 years ago
Adrien Vergé d617eb70ae Rules: Keep a persistent context for token rules
This will be needed to build a clean indentation checking algorithm.
10 years ago
Adrien Vergé 5c4c208b98 Rules: Add the 'braces' rule 10 years ago