Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossoverJie/gscript
/ AppendType
Method
AppendType
resolver/annotated_tree.go:103–105 ·
view source on GitHub ↗
(t symbol.Type)
Source
from the content-addressed store, hash-verified
101
}
102
103
func
(a *AnnotatedTree) AppendType(t symbol.Type) {
104
a.types = append(a.types, t)
105
}
106
107
func
(a *AnnotatedTree) GetTypes() []symbol.Type {
108
return
a.types
Callers
3
ExitFunctionType
Method · 0.80
EnterFunctionDeclaration
Method · 0.80
EnterClassDeclaration
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected