Parser.requireIdentifier

Reports an error if the current token is not an identifier.

class Parser
Token*
requireIdentifier

Parameters

mid
Type: MID

The error message ID to be used.

Return Value

Type: Token*

The identifier token or null.

Meta