// Code generated by "stringer -type=Scope -linecomment -output scope_string_linux.go"; DO NOT EDIT.

package nethelpers

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[ScopeGlobal-0]
	_ = x[ScopeSite-200]
	_ = x[ScopeLink-253]
	_ = x[ScopeHost-254]
	_ = x[ScopeNowhere-255]
}

const (
	_Scope_name_0 = "global"
	_Scope_name_1 = "site"
	_Scope_name_2 = "linkhostnowhere"
)

var _Scope_index_2 = [...]uint8{0, 4, 8, 15}

func (i Scope) String() string {
	switch {
	case i == 0:
		return _Scope_name_0
	case i == 200:
		return _Scope_name_1
	case 253 <= i && i <= 255:
		i -= 253
		return _Scope_name_2[_Scope_index_2[i]:_Scope_index_2[i+1]]
	default:
		return "Scope(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
