MCPcopy Create free account
hub / github.com/crossoverJie/gscript / DumpSymbol

Method DumpSymbol

resolver/annotated_tree.go:242–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240 a.root = scope
241}
242func (a *AnnotatedTree) DumpSymbol() string {
243 var buf strings.Builder
244 Scope2String(&buf, a.root, "")
245 return buf.String()
246}
247
248func Scope2String(buf *strings.Builder, scope symbol.Scope, indent string) {
249 buf.WriteString(indent)

Callers 1

GetCompileInfoMethod · 0.95

Calls 2

Scope2StringFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected