Minor simplifications in Parser token handling.

- A Token contains only ints and an enum; std::move does nothing.
- A statement beginning with `const` can never be an expression-
  statement.
- Replaced a `nextToken()/pushback()` pair with `peek()`; this
  effectively does the same thing.

Change-Id: I47e84bbaeeb16dd1547a0c3e4477469f73b8c6fd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/801456
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
1 file changed