MCPcopy 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
103func (a *AnnotatedTree) AppendType(t symbol.Type) {
104 a.types = append(a.types, t)
105}
106
107func (a *AnnotatedTree) GetTypes() []symbol.Type {
108 return a.types

Callers 3

ExitFunctionTypeMethod · 0.80
EnterClassDeclarationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected