Function getReducedASTNode

    • Reduces the provided node to the appropriate node for evaluating JSDoc comment status.

      Parameters

      • node: ESLintOrTSNode

        An AST node.

      • sourceCode: SourceCode

        The ESLint SourceCode.

      Returns ESLintOrTSNode

      The AST node that can be evaluated for appropriate JSDoc comments.