Versions in this module Expand all Collapse all v0 v0.3.0 Apr 3, 2024 Changes in this version + func Rename(sym *Symbol, newName string) error + type Symbol struct + File string + Name string + Position string + Type SymbolType + func (s Symbol) StartLine() (int64, error) + type SymbolMap struct + func NewSymbolMap(m map[string]*Symbol) *SymbolMap + func Symbols(filename string) (*SymbolMap, error) + func (s SymbolMap) All() []*Symbol + func (s SymbolMap) Get(name string) *Symbol + type SymbolType string + const SymbolTypeClass + const SymbolTypeConstant + const SymbolTypeField + const SymbolTypeFunction + const SymbolTypeMethod + const SymbolTypeStruct