parseDebuggerStatement method

Statement parseDebuggerStatement()

Implementation

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