kittenipc/kitcom/internal/tsgo/diagnostics/stringer_generated.go
2025-11-08 09:37:30 +03:00

27 lines
778 B
Go

// Code generated by "stringer -type=Category -output=stringer_generated.go"; DO NOT EDIT.
package diagnostics
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[CategoryWarning-0]
_ = x[CategoryError-1]
_ = x[CategorySuggestion-2]
_ = x[CategoryMessage-3]
}
const _Category_name = "CategoryWarningCategoryErrorCategorySuggestionCategoryMessage"
var _Category_index = [...]uint8{0, 15, 28, 46, 61}
func (i Category) String() string {
if i < 0 || i >= Category(len(_Category_index)-1) {
return "Category(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Category_name[_Category_index[i]:_Category_index[i+1]]
}