agentsqripts
Version:
Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems
22 lines (20 loc) • 689 B
JavaScript
/**
* @file AST Helper functions
* @description Re-exports the refactored AST helper functions
*/
const getNodeLine = require('./helpers/node/getNodeLine');
const isInsideLoop = require('./helpers/check/isInsideLoop');
const isInsideParent = require('./helpers/check/isInsideParent');
const getParentOfType = require('./helpers/walk/getParentOfType');
const isArrayLoopMethod = require('./helpers/check/isArrayLoopMethod');
const getLoopDepth = require('./helpers/walk/getLoopDepth');
const getNodeCode = require('./helpers/node/getNodeCode');
module.exports = {
getNodeLine,
isInsideLoop,
isInsideParent,
getParentOfType,
isArrayLoopMethod,
getLoopDepth,
getNodeCode
};