parseDebuggerStatement method

Statement parseDebuggerStatement()

Implementation

Statement parseDebuggerStatement() {
  int? start = token!.startOffset;
  int? line = token!.line;
  assert(token!.text == 'debugger');
  consume(Token.NAME);
  consumeSemicolon();
  return DebuggerStatement()
    ..start = start
    ..end = endOffset
    ..line = line;
}