breakStatement method

AstNode breakStatement()

Implementation

AstNode breakStatement() {
  Token keyword = previous();
  consume(TokenType.semicolon, "Expect ';' after 'break'.");
  return BreakStatement(keyword);
}