In parseType, the parser uses peekAfterIfType to tell the difference between id
and id id
.
In parseSwitchCase, the parser uses peekPastLabels to select between case labels and statement labels.
The parser uses isGeneralizedFunctionType in parseType.
The parser uses isValidMethodTypeArguments in parseSend.