Commit Graph

4 Commits (559ad5574b8d564a7082642c5948e4a9152d7489)

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).
9 years ago
Adrien Vergé 044c049462 Doc: Document rules 9 years ago
Adrien Vergé d617eb70ae Rules: Keep a persistent context for token rules
This will be needed to build a clean indentation checking algorithm.
9 years ago
Adrien Vergé 5c4c208b98 Rules: Add the 'braces' rule 9 years ago