Drop old stale code.
This commit is contained in:
parent
b841d12c9e
commit
9483f4bd94
@ -20,7 +20,6 @@ class Generator extends Printer {
|
||||
|
||||
super(format, map);
|
||||
|
||||
this.opts = opts;
|
||||
this.ast = ast;
|
||||
|
||||
this._whitespace = tokens.length > 0 ? new Whitespace(tokens) : null;
|
||||
@ -43,10 +42,7 @@ class Generator extends Printer {
|
||||
}
|
||||
};
|
||||
|
||||
auxiliaryCommentBefore: string;
|
||||
auxiliaryCommentAfter: string;
|
||||
_whitespace: Whitespace;
|
||||
opts: Object;
|
||||
ast: Object;
|
||||
|
||||
/**
|
||||
|
||||
@ -293,8 +293,6 @@ export default class Printer {
|
||||
|
||||
this._printNewline(true, node, parent, opts);
|
||||
|
||||
if (opts.before) opts.before();
|
||||
|
||||
let loc = (t.isProgram(node) || t.isFile(node)) ? null : node.loc;
|
||||
this.withSource("start", loc, () => {
|
||||
this[node.type](node, parent);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user