Versions in this module Expand all Collapse all v1 v1.5.0 Apr 2, 2026 v0 v0.1.0 Apr 6, 2026 Changes in this version + type Comment struct + Kind string + Line int + Text string + type Constant struct + Line int + Name string + Type string + Value string + type Field struct + Doc string + Line int + Name string + Tags map[string]string + Type string + type Function struct + BodySize int + Doc string + EndLine int + IsExported bool + Line int + Name string + Params []Param + Receiver string + Returns []string + type Import struct + Alias string + IsUsed bool + Line int + Path string + type Language int + const LangGo + const LangJavaScript + const LangPython + const LangRust + const LangTypeScript + const LangUnknown + func DetectLanguage(filename string) Language + type Param struct + Name string + Type string + type ParseResult struct + Comments []Comment + Constants []Constant + FilePath string + Functions []Function + Imports []Import + Language Language + Package string + RawAST interface{} + Types []TypeDef + Variables []Variable + func (r *ParseResult) GetOutline() string + func (r *ParseResult) GetSymbols() []Symbol + type Parser struct + func NewParser(lang Language) *Parser + func (p *Parser) Parse(filename string, src []byte) (*ParseResult, error) + type Symbol struct + Detail string + EndLine int + Kind string + Line int + Name string + Receiver string + Type string + Value string + type TypeDef struct + Doc string + Fields []Field + Kind string + Line int + Methods []string + Name string + type Variable struct + Line int + Name string + Type string + Value string