File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2256,14 +2256,6 @@ namespace ts {
2256
2256
return range ;
2257
2257
}
2258
2258
2259
- /**
2260
- * Gets flags that control emit behavior of a node.
2261
- */
2262
- export function getEmitFlags ( node : Node ) : EmitFlags | undefined {
2263
- const emitNode = node . emitNode ;
2264
- return emitNode && emitNode . flags ;
2265
- }
2266
-
2267
2259
/**
2268
2260
* Sets flags that control emit behavior of a node.
2269
2261
*/
Original file line number Diff line number Diff line change @@ -321,6 +321,14 @@ namespace ts {
321
321
return getSourceTextOfNodeFromSourceFile ( getSourceFileOfNode ( node ) , node , includeTrivia ) ;
322
322
}
323
323
324
+ /**
325
+ * Gets flags that control emit behavior of a node.
326
+ */
327
+ export function getEmitFlags ( node : Node ) : EmitFlags | undefined {
328
+ const emitNode = node . emitNode ;
329
+ return emitNode && emitNode . flags ;
330
+ }
331
+
324
332
export function getLiteralText ( node : LiteralLikeNode , sourceFile : SourceFile ) {
325
333
// If we don't need to downlevel and we can reach the original source text using
326
334
// the node's parent reference, then simply get the text as it was originally written.
You can’t perform that action at this time.
0 commit comments