Versions in this module Expand all Collapse all v0 v0.22.0 Jul 15, 2026 Changes in this version + func AccessChainRootIdentifier(node *ast.Node) *ast.Node + func AdditionalHooksFromSettings(settings map[string]interface{}, key string) *regexp.Regexp + func CallsHooksOrCreatesJsx(fn *ast.Node) bool + func ContainsNode(ancestor, descendant *ast.Node) bool + func FindEnclosingFunction(node *ast.Node) *ast.Node + func GetForwardRefOrMemoCallbackCall(fn *ast.Node, name string) *ast.Node + func GetFunctionBody(fn *ast.Node) *ast.Node + func GetFunctionName(fn *ast.Node) *ast.Node + func GetReactCallbackCall(fn *ast.Node, name string) *ast.Node + func HasAsyncModifier(fn *ast.Node) bool + func ImportSpecifierImportedName(spec *ast.ImportSpecifier) string + func IsClassMember(fn *ast.Node) bool + func IsCompilerFunctionKind(node *ast.Node) bool + func IsCompilerHookCallee(node *ast.Node) bool + func IsCompilerHookName(s string) bool + func IsCompilerNonNode(node *ast.Node) bool + func IsComponentNameStr(s string) bool + func IsComponentOrHookFn(fn *ast.Node) bool + func IsEffectStyleHookName(name string) bool + func IsForwardRefOrMemoCallback(fn *ast.Node, name string) bool + func IsFunctionLikeContainer(node *ast.Node) bool + func IsHookCallee(node *ast.Node) bool + func IsHookName(s string) bool + func IsInsideComponentOrHook(node *ast.Node) bool + func IsManualUseMemoCallee(node *ast.Node, typeChecker *checker.Checker) bool + func IsReactCalleeNamed(node *ast.Node, name string) bool + func IsUseEffectEventCallee(node *ast.Node) bool + func IsUseIdentifier(node *ast.Node) bool + func IsValidCompilerComponentParams(fn *ast.Node) bool + func ReturnsCompilerNonNode(fn *ast.Node) bool + func StripReactNamespace(node *ast.Node) *ast.Node + type AssignmentTargetIdentifier struct + Identifier *ast.Node + Name string + Node *ast.Node + func CollectAssignmentTargetIdentifiers(node *ast.Node) []AssignmentTargetIdentifier + func CollectAssignmentTargetIdentifiersThroughAssertions(node *ast.Node) []AssignmentTargetIdentifier + type CompilerReactFunctionType string + const CompilerReactFunctionComponent + const CompilerReactFunctionHook + func GetCompilerReactFunctionType(fn *ast.Node) CompilerReactFunctionType