Commit Graph

7 Commits (ca0ebe45836f204cea473b8e69b2744ebe8373f6)

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é 8288a6f331 Rules: colons: Apply to '?' also 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é d08eb22081 Rules: Add the 'brackets' rule 10 years ago
Adrien Vergé cfea0661ed Rules: Make max-spaces-* generic
The goal being to use them in the 'colons', 'hyphens', 'commas', etc.
rules.
10 years ago
Adrien Vergé 350213b165 Initial commit 10 years ago