You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/types.ts
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -2984,21 +2984,21 @@ namespace ts {
2984
2984
EmitSuperHelper=1<<2,// Emit the basic _super helper for async methods.
2985
2985
EmitAdvancedSuperHelper=1<<3,// Emit the advanced _super helper for async methods.
2986
2986
UMDDefine=1<<4,// This node should be replaced with the UMD define helper.
2987
-
NoLexicalEnvironment=1<<5,// A new LexicalEnvironment should *not* be introduced when emitting this node, this is primarily used when printing a SystemJS module.
2988
-
SingleLine=1<<6,// The contents of this node should be emitted on a single line.
2989
-
AdviseOnEmitNode=1<<7,// The printer should invoke the onEmitNode callback when printing this node.
2990
-
NoSubstitution=1<<8,// Disables further substitution of an expression.
2991
-
CapturesThis=1<<9,// The function captures a lexical `this`
2992
-
NoLeadingSourceMap=1<<10,// Do not emit a leading source map location for this node.
2993
-
NoTrailingSourceMap=1<<11,// Do not emit a trailing source map location for this node.
2987
+
SingleLine=1<<5,// The contents of this node should be emitted on a single line.
2988
+
AdviseOnEmitNode=1<<6,// The printer should invoke the onEmitNode callback when printing this node.
2989
+
NoSubstitution=1<<7,// Disables further substitution of an expression.
2990
+
CapturesThis=1<<8,// The function captures a lexical `this`
2991
+
NoLeadingSourceMap=1<<9,// Do not emit a leading source map location for this node.
2992
+
NoTrailingSourceMap=1<<10,// Do not emit a trailing source map location for this node.
2994
2993
NoSourceMap=NoLeadingSourceMap|NoTrailingSourceMap,// Do not emit a source map location for this node.
2995
-
NoNestedSourceMaps=1<<12,// Do not emit source map locations for children of this node.
2996
-
NoTokenLeadingSourceMaps=1<<13,// Do not emit leading source map location for token nodes.
2997
-
NoTokenTrailingSourceMaps=1<<14,// Do not emit trailing source map location for token nodes.
2994
+
NoNestedSourceMaps=1<<11,// Do not emit source map locations for children of this node.
2995
+
NoTokenLeadingSourceMaps=1<<12,// Do not emit leading source map location for token nodes.
2996
+
NoTokenTrailingSourceMaps=1<<13,// Do not emit trailing source map location for token nodes.
2998
2997
NoTokenSourceMaps=NoTokenLeadingSourceMaps|NoTokenTrailingSourceMaps,// Do not emit source map locations for tokens of this node.
2999
-
NoLeadingComments=1<<15,// Do not emit leading comments for this node.
3000
-
NoTrailingComments=1<<16,// Do not emit trailing comments for this node.
2998
+
NoLeadingComments=1<<14,// Do not emit leading comments for this node.
2999
+
NoTrailingComments=1<<15,// Do not emit trailing comments for this node.
3001
3000
NoComments=NoLeadingComments|NoTrailingComments,// Do not emit comments for this node.
3001
+
NoNestedComments=1<<16,
3002
3002
ExportName=1<<17,// Ensure an export prefix is added for an identifier that points to an exported declaration with a local name (see SymbolFlags.ExportHasLocal).
3003
3003
LocalName=1<<18,// Ensure an export prefix is not added for an identifier that points to an exported declaration.
3004
3004
Indented=1<<19,// Adds an explicit extra indentation level for class and function bodies when printing (used to match old emitter).
@@ -3007,10 +3007,8 @@ namespace ts {
3007
3007
// TODO(rbuckton): These should be removed once source maps are aligned with the old
3008
3008
// emitter and new baselines are taken. This exists solely to
3009
3009
// align with the old emitter.
3010
-
SourceMapEmitOpenBraceAsToken=1<<21,// Emits the open brace of a block function body as a source mapped token.
3011
-
SourceMapAdjustRestParameterLoop=1<<22,// Emits adjusted source map positions for a ForStatement generated when transforming a rest parameter for ES5/3.
3012
-
3013
-
HasNodeEmitFlags=1<<31,// Indicates the node has emit flags set.
3010
+
SourceMapEmitOpenBraceAsToken=1<<20,// Emits the open brace of a block function body as a source mapped token.
3011
+
SourceMapAdjustRestParameterLoop=1<<21,// Emits adjusted source map positions for a ForStatement generated when transforming a rest parameter for ES5/3.
3014
3012
}
3015
3013
3016
3014
/** Additional context provided to `visitEachChild` */
0 commit comments