Parser.check

Issue error if the current token is not value, advance to next token.

  1. void check(Loc loc, TOK value)
  2. void check(TOK value)
    class Parser(AST, Lexer = dmd.lexer.Lexer)
    final
    void
    check
    (
    TOK value
    )
  3. void check(TOK value, const(char)* string)

Parameters

value TOK

token value to compare with

Meta