File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,6 @@ module ts {
51
51
}
52
52
}
53
53
54
- /**
55
- * A declaration has a dynamic name if both of the following are true:
56
- * 1. The declaration has a computed property name
57
- * 2. The computed name is *not* expressed as Symbol.<name>, where name
58
- * is a property of the Symbol constructor that denotes a built in
59
- * Symbol.
60
- */
61
- export function hasDynamicName ( declaration : Declaration ) : boolean {
62
- return declaration . name && declaration . name . kind === SyntaxKind . ComputedPropertyName ;
63
- }
64
-
65
54
export function bindSourceFile ( file : SourceFile ) : void {
66
55
var start = new Date ( ) . getTime ( ) ;
67
56
bindSourceFileWorker ( file ) ;
Original file line number Diff line number Diff line change @@ -835,6 +835,17 @@ module ts {
835
835
return SyntaxKind . FirstTriviaToken <= token && token <= SyntaxKind . LastTriviaToken ;
836
836
}
837
837
838
+ /**
839
+ * A declaration has a dynamic name if both of the following are true:
840
+ * 1. The declaration has a computed property name
841
+ * 2. The computed name is *not* expressed as Symbol.<name>, where name
842
+ * is a property of the Symbol constructor that denotes a built in
843
+ * Symbol.
844
+ */
845
+ export function hasDynamicName ( declaration : Declaration ) : boolean {
846
+ return declaration . name && declaration . name . kind === SyntaxKind . ComputedPropertyName ;
847
+ }
848
+
838
849
export function isWellKnownSymbolSyntactically ( node : Node ) : boolean {
839
850
return node . kind === SyntaxKind . PropertyAccessExpression && isESSymbolIdentifier ( ( < PropertyAccessExpression > node ) . expression ) ;
840
851
}
You can’t perform that action at this time.
0 commit comments