nl_tokens: Returns true if start of variable declaration list was emitted . Returns false if nothing was written - this can happen for source file level variable declarations in system modules where such variable declarations are hoisted .
pl_tokens: function tryEmitStartOfVariableDeclarationList ( decl , startPos ) { if ( shouldHoistVariable ( decl , /*checkIfSourceFileLevelDecl*/ true ) ) { // variables in variable declaration list were already hoisted return false ; } var tokenKind = 102 /* VarKeyword */ ; if ( decl && languageVersion >= 2 /* ES6 */ ) { if ( ts . isLet ( decl ) ) { tokenKind = 108 /* LetKeyword */ ; } else if ( ts . isConst ( decl ) ) { tokenKind = 74 /* ConstKeyword */ ; } } if ( startPos !== undefined ) { emitToken ( tokenKind , startPos ) ; write ( " " ) ; } else { switch ( tokenKind ) { case 102 /* VarKeyword */ : write ( "var " ) ; break ; <mask> 108 /* LetKeyword */ : write ( "let " ) ; break ; case 74 /* ConstKeyword */ : write ( "const " ) ; break ; } } return true ; }