std.zig.parser: Refactor round 2

* More work on ensuring that each state only eat one token
* VarDecl parsing now constructs its node
* Handling all fn parsing in the same case
* Using eatToken instead of getNextToken where possible
* All tokenIdTo* now takes  @TagType(Token.Id)
* Added a createToCtxLiteral function
This commit is contained in:
Jimmi Holst Christensen 2018-04-13 10:15:12 +02:00
parent fad54e62bb
commit 44c53c9979

File diff suppressed because it is too large Load Diff