Skip to content

⬅️ Back to Table of Contents

📄 astUtilities

📊 Analysis Summary

Metric Count
📦 Imports 1
📊 Variables & Constants 7

📚 Table of Contents

🛠️ File Location:

📂 packages/utils/src/ast-utils/eslint-utils/astUtilities.ts

📦 Imports

Name Source
TSESTree ../../ts-estree

Variables & Constants

Name Type Kind Value Exported
getFunctionHeadLocation (node: any, sourceCode: SourceCode) =... const eslintUtils.getFunctionHeadLocation as ( node: \| TSESTree.ArrowFunctionExpre...
getFunctionNameWithKind (node: any, sourceCode?: SourceCode) ... const eslintUtils.getFunctionNameWithKind as ( node: \| TSESTree.ArrowFunctionExpre...
getPropertyName (node: any, initialScope?: scopeManag... const eslintUtils.getPropertyName as ( node: \| TSESTree.MemberExpression \| TSESTr...
getStaticValue (node: TSESTree.Node, initialScope?: ... const eslintUtils.getStaticValue as ( node: TSESTree.Node, initialScope?: TSESLint....
getStringIfConstant (node: TSESTree.Node, initialScope?: ... const eslintUtils.getStringIfConstant as ( node: TSESTree.Node, initialScope?: TSES...
hasSideEffect (node: TSESTree.Node, sourceCode: Sou... const eslintUtils.hasSideEffect as ( node: TSESTree.Node, sourceCode: TSESLint.Sour...
isParenthesized { (times: number, node: TSESTree.Node... const eslintUtils.isParenthesized as { ( times: number, node: TSESTree.Node, source...

Generated by Syntax Scribe