☰
D
dejadoc
DDN
/
ddn.data.cf
/
CfParser.expect
🔍
☾
CfParser.expect
Token
expect(
TokenType
type)
@safe
pure
Consumes the current token if it matches the expected type.
Parameters
type
The expected token type
Returns
The consumed token.
Throws
CfParseException if the current token does not match.