Better rule consumption
Style change
Added tests for basic rule deserializer
Fixed one issue with rule consumption: when a "group:" is matched the "of" parameter is name of the group and not name of first token
Fixed a bug which caused parser to report syntax error when a group
with quantifier Klenee-star appeared zero times and had nested rule
inside
Some changes
Extracted unquantified rule matching into separate method
Decoupled quantified rule matching from main .matchrule() counter
Extracted matching quantified rules into separate method
Small refactoring in .matchrule() method
Refactored code matching quantified rules
Fixed a bug when Klenee-star quantified alternative could not match nothing (it should)
Preparations for further refactoring
Further refactoring in code matching quantified rules
New tests
Feeding new string into lexer resets tokens (BUGFIX)
Dirty commit (because changing machine and I need to move code)
Small change in tests
New error, slightly restructured hierarchy