MCPcopy Create free account
hub / github.com/brimdata/super / Symbol

Method Symbol

complex.go:80–85  ·  view source on GitHub ↗
(index int)

Source from the content-addressed store, hash-verified

78}
79
80func (t *TypeEnum) Symbol(index int) (string, error) {
81 if index < 0 || index >= len(t.Symbols) {
82 return "", ErrEnumIndex
83 }
84 return t.Symbols[index], nil
85}
86
87func (t *TypeEnum) Lookup(symbol string) int {
88 for k, s := range t.Symbols {

Callers 2

EvalMethod · 0.80
buildArrowValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected