mirror of https://github.com/hashicorp/terraform
parent
1ff5a838a4
commit
fa7891d182
@ -0,0 +1,17 @@
|
||||
// generated by stringer -type=Type; DO NOT EDIT
|
||||
|
||||
package ast
|
||||
|
||||
import "fmt"
|
||||
|
||||
const _Type_name = "TypeInvalidTypeString"
|
||||
|
||||
var _Type_index = [...]uint8{0, 11, 21}
|
||||
|
||||
func (i Type) String() string {
|
||||
i -= 1
|
||||
if i+1 >= Type(len(_Type_index)) {
|
||||
return fmt.Sprintf("Type(%d)", i+1)
|
||||
}
|
||||
return _Type_name[_Type_index[i]:_Type_index[i+1]]
|
||||
}
|
||||
Loading…
Reference in new issue