vendor tsgo
This commit is contained in:
25
tools/tsgo/internal/project/project_stringer_generated.go
Normal file
25
tools/tsgo/internal/project/project_stringer_generated.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// Code generated by "stringer -type=Kind -trimprefix=Kind -output=project_stringer_generated.go"; DO NOT EDIT.
|
||||
|
||||
package project
|
||||
|
||||
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[KindInferred-0]
|
||||
_ = x[KindConfigured-1]
|
||||
}
|
||||
|
||||
const _Kind_name = "InferredConfigured"
|
||||
|
||||
var _Kind_index = [...]uint8{0, 8, 18}
|
||||
|
||||
func (i Kind) String() string {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_Kind_index)-1 {
|
||||
return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _Kind_name[_Kind_index[idx]:_Kind_index[idx+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user