function isTrailingComment(line, lineNumber, comment) {
            return comment &&
                (comment.loc.start.line === lineNumber && lineNumber <= comment.loc.end.line) &&
                (comment.loc.end.line > lineNumber || comment.loc.end.column === line.length);
        }
function isTrailingComment(line, lineNumber, comment) {
            return comment &&
                (comment.loc.start.line === lineNumber && lineNumber <= comment.loc.end.line) &&
                (comment.loc.end.line > lineNumber || comment.loc.end.column === line.length);
        }
function isTrailingComment ( line , lineNumber , comment ) { return comment && ( comment . loc . start . line === lineNumber && lineNumber <= comment . loc . end . line ) && ( comment . loc . end . line > lineNumber || comment . loc . end . column === line . length ) ; }
-------------------------------------------------------------------------- Helpers -------------------------------------------------------------------------- 
Tells if a given comment is trailing: it starts on the current line and
extends to or past the end of the current line.
@param {string} line The source line we want to check for a trailing comment on
@param {number} lineNumber The one-indexed line number for line
@param {ASTNode} comment The comment to inspect
@returns {boolean} If the comment is trailing on the given line
-------------------------------------------------------------------------- Helpers -------------------------------------------------------------------------- Tells if a given comment is trailing : it starts on the current line and extends to or past the end of the current line .
Check if comment is a trailing comment