sourcePosition.mjs 456 Bytes
Newer Older
1 2 3
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
4
import { Event } from './log.mjs';
5

6 7 8 9 10 11 12 13 14 15
class SourcePositionLogEvent extends Event {
  constructor(type, time, file, line, col, script) {
    super(type, time);
    this.file = file;
    this.line = line;
    this.col = col;
    this.script = script;
  }
}

16
export { SourcePositionLogEvent };