Function getReducedASTNode
- get
ReducedASTNode (node, sourceCode): ESLintOrTSNode Parameters
- node: ESLintOrTSNode
An AST node.
- sourceCode: SourceCode
The ESLint SourceCode.
Returns ESLintOrTSNode
The AST node that can be evaluated for appropriate JSDoc comments.
- node: ESLintOrTSNode
Reduces the provided node to the appropriate node for evaluating JSDoc comment status.