# std.zig.parser: · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/281c17f6ae3c294d0b7139fe640dd0cb30123ea1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 281c17f6ae3c294d0b7139fe640dd0cb30123ea1

Requested commit: 281c17f6ae3c294d0b7139fe640dd0cb30123ea1

Commit: 281c17f6ae3c294d0b7139fe640dd0cb30123ea1

Tree: 22597baab53aa9bd2b79405d0cade6e200950a75

Author: Jimmi Holst Christensen

Committer: Jimmi Holst Christensen

## Message

```
std.zig.parser:
* Renamed eatToken to expectToken
* A new eatToken fn, which only eats the token, if the id match
* Inlined initNode, as it is not suppose to be used outside createNode

```

## Parents

- [dae287524d94219b1f3a2ec82d410b9f34fb2546](https://git.cafe/gitcafe/zig/commit/dae287524d94219b1f3a2ec82d410b9f34fb2546?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/281c17f6ae3c294d0b7139fe640dd0cb30123ea1?format=markdown)
