MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/arguments.mjs:6–13  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

4
5export class BaseArgumentsProcessor {
6 constructor(args) {
7 this.args_ = args.slice();
8 this.result_ = this.getDefaultResults();
9 console.assert(this.result_ !== undefined)
10 console.assert(this.result_.logFileName !== undefined);
11 this.argsDispatch_ = this.getArgsDispatch();
12 console.assert(this.argsDispatch_ !== undefined);
13 }
14
15 getDefaultResults() {
16 throw "Implement in getDefaultResults in subclass";

Callers

nothing calls this directly

Calls 4

getDefaultResultsMethod · 0.95
getArgsDispatchMethod · 0.95
assertMethod · 0.80
sliceMethod · 0.65

Tested by

no test coverage detected