Versions in this module Expand all Collapse all v0 v0.2.0 Sep 6, 2026 v0.1.1 Mar 24, 2026 v0.1.0 Mar 22, 2026 Changes in this version + func ComputeMaxBranching(root *tree_sitter.Node) int + func ComputeMaxNestingDepth(root *tree_sitter.Node) int + func ComputeNodeDiversity(root *tree_sitter.Node) int + type Definition struct + EndLine int + Kind string + Line int + Name string + ParamCount int + QualifiedName string + type FileAnalysis struct + Definitions []Definition + Imports []Import + Lines int + MaxBranching int + MaxNestingDepth int + NodeDiversity int + Path string + type Frontend interface + Analyze func(path string, src []byte) (*FileAnalysis, error) + Extensions func() []string + type GoFrontend struct + func NewGoFrontend() *GoFrontend + func (f *GoFrontend) Analyze(path string, src []byte) (*FileAnalysis, error) + func (f *GoFrontend) Extensions() []string + type Import struct + Kind string + Line int + Name string + SourceModule string + type PythonFrontend struct + func NewPythonFrontend() *PythonFrontend + func (f *PythonFrontend) Analyze(path string, src []byte) (*FileAnalysis, error) + func (f *PythonFrontend) Extensions() []string + type TypeScriptFrontend struct + func NewTypeScriptFrontend() *TypeScriptFrontend + func (f *TypeScriptFrontend) Analyze(path string, src []byte) (*FileAnalysis, error) + func (f *TypeScriptFrontend) Extensions() []string