docs/libs/typescript.js
function getTokenAtPosition(sourceFile, position, includeJsDocComment) {
        if (includeJsDocComment === void 0) { includeJsDocComment = false; }
        return getTokenAtPositionWorker(sourceFile, position, /*allowPositionInLeadingTrivia*/ true, /*includeItemAtEndPosition*/ undefined, includeJsDocComment);
    }
function getTokenAtPosition(sourceFile, position, includeJsDocComment) {
        if (includeJsDocComment === void 0) { includeJsDocComment = false; }
        return getTokenAtPositionWorker(sourceFile, position, /*allowPositionInLeadingTrivia*/ true, /*includeItemAtEndPosition*/ undefined, includeJsDocComment);
    }
function getTokenAtPosition ( sourceFile , position , includeJsDocComment ) { if ( includeJsDocComment === void 0 ) { includeJsDocComment = false ; } return getTokenAtPositionWorker ( sourceFile , position , /*allowPositionInLeadingTrivia*/ true , /*includeItemAtEndPosition*/ undefined , includeJsDocComment ) ; }
Returns a token if position is in [start-of-leading-trivia, end)
Returns a token if position is in [ start - of - leading - trivia end )