mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 14:16:47 -04:00
25 lines
648 B
Go
25 lines
648 B
Go
// Code generated by "stringer -type=register"; DO NOT EDIT.
|
|
|
|
package plc
|
|
|
|
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[fieldIoConnection-0]
|
|
_ = x[registerCount-1]
|
|
}
|
|
|
|
const _register_name = "fieldIoConnectionregisterCount"
|
|
|
|
var _register_index = [...]uint8{0, 17, 30}
|
|
|
|
func (i register) String() string {
|
|
if i < 0 || i >= register(len(_register_index)-1) {
|
|
return "register(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _register_name[_register_index[i]:_register_index[i+1]]
|
|
}
|