analyzer

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionAnalyzer

type FunctionAnalyzer struct {
	Functions []FunctionInfo
}

func NewFunctionAnalyzer

func NewFunctionAnalyzer() *FunctionAnalyzer

func (*FunctionAnalyzer) AnalyzeDirectory

func (fa *FunctionAnalyzer) AnalyzeDirectory(dir string) error

func (*FunctionAnalyzer) AnalyzeFile

func (fa *FunctionAnalyzer) AnalyzeFile(filePath string) error

type FunctionInfo

type FunctionInfo struct {
	Name       string
	Receiver   string
	Parameters []ParameterInfo
	Results    []ParameterInfo
	IsMethod   bool
	IsGeneric  bool
}

type ParameterInfo

type ParameterInfo struct {
	Name string
	Type string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL