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
44c53c9979Jimmi Holst Christensen committed on 4/13/2018, 8:15:12 AMparentfad54e6
1 file changedLine totals unavailable