extraction

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstantInfo

type ConstantInfo struct {
	Name      string
	Value     string
	Type      string
	StartLine int
	EndLine   int
}

ConstantInfo represents a constant declaration.

type DataData

type DataData struct {
	Constants []ConstantInfo
	Variables []VariableInfo
}

DataData represents constants and configuration values.

type Definition

type Definition struct {
	Name      string
	Type      string // "type", "interface", "function", etc.
	Code      string // The actual code
	StartLine int
	EndLine   int
}

Definition represents a single type or function definition.

type DefinitionsData

type DefinitionsData struct {
	Definitions []Definition
}

DefinitionsData represents type definitions and function signatures.

type SymbolInfo

type SymbolInfo struct {
	Name      string
	Type      string // "struct", "interface", "function", "method", etc.
	StartLine int
	EndLine   int
	Signature string // For functions/methods
}

SymbolInfo represents a symbol with its location.

type SymbolsData

type SymbolsData struct {
	PackageName  string
	ImportsCount int
	Types        []SymbolInfo
	Functions    []SymbolInfo
}

SymbolsData represents the high-level symbols in a file.

type VariableInfo

type VariableInfo struct {
	Name      string
	Value     string
	Type      string
	StartLine int
	EndLine   int
}

VariableInfo represents a global variable.

Jump to

Keyboard shortcuts

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