model

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Path string
	Kind ImportKind
}

Import is a raw import path with its kind.

type ImportKind

type ImportKind int

ImportKind classifies an import statement.

const (
	ImportDefault ImportKind = iota
	ImportTypeOnly
)

type Symbol

type Symbol struct {
	Name   string
	Kind   SymbolKind
	Parent string
}

Symbol is an exported identifier with its kind. Parent carries the enclosing scope when available: the receiver type name for Go methods, empty for free functions and for languages whose queries do not yet capture parent scope.

type SymbolKind

type SymbolKind int

SymbolKind classifies a symbol extracted from source code.

const (
	SymbolUnknown SymbolKind = iota
	SymbolFunction
	SymbolType
	SymbolConstant
	SymbolVariable
	SymbolInterface
)

Jump to

Keyboard shortcuts

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