Reuse subtree transform flags for incrementally parsed nodes (#12088)

This commit is contained in:
Ron Buckton
2016-11-07 16:03:04 -08:00
committed by Mohamed Hegazy
parent be2e8e85d6
commit ddc4ae7eac
4 changed files with 81 additions and 71 deletions

View File

@@ -48,7 +48,6 @@ namespace ts {
public jsDocComments: JSDoc[];
public original: Node;
public transformFlags: TransformFlags;
public excludeTransformFlags: TransformFlags;
private _children: Node[];
constructor(kind: SyntaxKind, pos: number, end: number) {
@@ -56,7 +55,6 @@ namespace ts {
this.end = end;
this.flags = NodeFlags.None;
this.transformFlags = undefined;
this.excludeTransformFlags = undefined;
this.parent = undefined;
this.kind = kind;
}