File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2256,14 +2256,6 @@ namespace ts {
22562256 return range ;
22572257 }
22582258
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-
22672259 /**
22682260 * Sets flags that control emit behavior of a node.
22692261 */
Original file line number Diff line number Diff line change @@ -321,6 +321,14 @@ namespace ts {
321321 return getSourceTextOfNodeFromSourceFile ( getSourceFileOfNode ( node ) , node , includeTrivia ) ;
322322 }
323323
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+
324332 export function getLiteralText ( node : LiteralLikeNode , sourceFile : SourceFile ) {
325333 // If we don't need to downlevel and we can reach the original source text using
326334 // 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