mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
13fa73c63e
These types represent the individual elements within configuration, the modules a configuration is made of, and the configuration (static module tree) itself.
30 lines
684 B
Go
30 lines
684 B
Go
// Code generated by "stringer -type VariableTypeHint"; DO NOT EDIT.
|
|
|
|
package configs
|
|
|
|
import "strconv"
|
|
|
|
const (
|
|
_VariableTypeHint_name_0 = "TypeHintNone"
|
|
_VariableTypeHint_name_1 = "TypeHintListTypeHintMap"
|
|
_VariableTypeHint_name_2 = "TypeHintString"
|
|
)
|
|
|
|
var (
|
|
_VariableTypeHint_index_1 = [...]uint8{0, 12, 23}
|
|
)
|
|
|
|
func (i VariableTypeHint) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _VariableTypeHint_name_0
|
|
case 76 <= i && i <= 77:
|
|
i -= 76
|
|
return _VariableTypeHint_name_1[_VariableTypeHint_index_1[i]:_VariableTypeHint_index_1[i+1]]
|
|
case i == 83:
|
|
return _VariableTypeHint_name_2
|
|
default:
|
|
return "VariableTypeHint(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|