File tree 3 files changed +1
-8
lines changed
3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ namespace ts {
17
17
* Creates a `BaseNodeFactory` which can be used to create `Node` instances from the constructors provided by the object allocator.
18
18
*/
19
19
export function createBaseNodeFactory ( ) : BaseNodeFactory {
20
- // tslint:disable variable-name
21
20
let NodeConstructor : new ( kind : SyntaxKind , pos ?: number , end ?: number ) => Node ;
22
21
let TokenConstructor : new ( kind : SyntaxKind , pos ?: number , end ?: number ) => Node ;
23
22
let IdentifierConstructor : new ( kind : SyntaxKind , pos ?: number , end ?: number ) => Node ;
24
23
let PrivateIdentifierConstructor : new ( kind : SyntaxKind , pos ?: number , end ?: number ) => Node ;
25
24
let SourceFileConstructor : new ( kind : SyntaxKind , pos ?: number , end ?: number ) => Node ;
26
- // tslint:enable variable-name
27
25
28
26
return {
29
27
createBaseSourceFileNode,
@@ -53,4 +51,4 @@ namespace ts {
53
51
return new ( NodeConstructor || ( NodeConstructor = objectAllocator . getNodeConstructor ( ) ) ) ( kind , /*pos*/ - 1 , /*end*/ - 1 ) ;
54
52
}
55
53
}
56
- }
54
+ }
Original file line number Diff line number Diff line change @@ -6407,11 +6407,9 @@ namespace ts {
6407
6407
rawTextScanner . setText ( "`" + rawText + "`" ) ;
6408
6408
break ;
6409
6409
case SyntaxKind . TemplateHead :
6410
- // tslint:disable-next-line no-invalid-template-strings
6411
6410
rawTextScanner . setText ( "`" + rawText + "${" ) ;
6412
6411
break ;
6413
6412
case SyntaxKind . TemplateMiddle :
6414
- // tslint:disable-next-line no-invalid-template-strings
6415
6413
rawTextScanner . setText ( "}" + rawText + "${" ) ;
6416
6414
break ;
6417
6415
case SyntaxKind . TemplateTail :
@@ -6840,7 +6838,6 @@ namespace ts {
6840
6838
return node ;
6841
6839
}
6842
6840
6843
- // tslint:disable-next-line variable-name
6844
6841
let SourceMapSource : new ( fileName : string , text : string , skipTrivia ?: ( pos : number ) => number ) => SourceMapSource ;
6845
6842
6846
6843
/**
Original file line number Diff line number Diff line change @@ -1027,13 +1027,11 @@ namespace ts {
1027
1027
const disallowInAndDecoratorContext = NodeFlags.DisallowInContext | NodeFlags.DecoratorContext;
1028
1028
1029
1029
// capture constructors in 'initializeState' to avoid null checks
1030
- // tslint:disable variable-name
1031
1030
let NodeConstructor: new (kind: SyntaxKind, pos: number, end: number) => Node;
1032
1031
let TokenConstructor: new (kind: SyntaxKind, pos: number, end: number) => Node;
1033
1032
let IdentifierConstructor: new (kind: SyntaxKind, pos: number, end: number) => Node;
1034
1033
let PrivateIdentifierConstructor: new (kind: SyntaxKind, pos: number, end: number) => Node;
1035
1034
let SourceFileConstructor: new (kind: SyntaxKind, pos: number, end: number) => Node;
1036
- // tslint:enable variable-name
1037
1035
1038
1036
function countNode(node: Node) {
1039
1037
nodeCount++;
You can’t perform that action at this time.
0 commit comments