MCPcopy Create free account
hub / github.com/maruel/panicparse / String

Method String

stack/state_string.go:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34var _state_index = [...]uint16{0, 7, 11, 25, 41, 48, 58, 69, 83, 93, 107, 121, 143, 163, 183, 204, 226, 246, 266, 287}
35
36func (i state) String() string {
37 if i < 0 || i >= state(len(_state_index)-1) {
38 return "state(" + strconv.FormatInt(int64(i), 10) + ")"
39 }
40 return _state_name[_state_index[i]:_state_index[i+1]]
41}

Callers

nothing calls this directly

Calls 1

stateTypeAlias · 0.85

Tested by

no test coverage detected