# Functions
ExtractFunctionDefinitionCode extracts the code definition of the specified function from the source byte slice.
ExtractFunctions extracts all functions from the given AST file.
ExtractFunctionsByReceiverName extracts functions with the specified receiver name from the provided list of functions.
FindArrayTypeByName finds an array type by its name in the given AST file and returns its content (including brackets).
FindClassesAndFunctions finds all functions, types, and values in the given AST file.
FindFunctionByName finds a function by its name in the given AST file and returns the function declaration.
FindFunctionByNameWithCheck finds a function by name with a check for its existence in the given AST file.
FindFunctionByReceiverAndName finds a function by both its receiver name and function name in the given AST file.
FindFunctions finds all function declarations in the given AST file.
FindFunctionsByReceiverName finds all functions with the specified receiver name in the given AST file.
FindInterfaceTypes finds all interface types in the given AST file and returns a map of interface names to their corresponding interface content.
FindMainFunction finds the main function in the given AST file.
FindStructDeclarationByName finds a struct type by its name in the given AST file and returns its declaration and content (including type and brackets).
FindStructTypeByName finds a struct type by its name in the given AST file and returns its content (including brackets).
FindTypes finds all type declarations in the given AST file.
GetFunctionComment extracts the documentation comment of the specified function.
GetFunctionReceiverNameAndType gets the receiver name and type of the given function declaration.
IsFunctionReceiverName checks if the specified receiver name matches the receiver of the function.
MapStructDeclarationsByName finds all struct types in the given AST file and returns a map of struct names to their complete declarations (from type to closing bracket).
MapStructTypesByName finds all struct types in the given AST file and returns a map of struct names to their corresponding struct content (including brackets).