MCPcopy Create free account
hub / github.com/z7zmey/php-parser / String

Method String

freefloating/position_string.go:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91var _Position_index = [...]uint16{0, 5, 8, 13, 18, 27, 33, 39, 48, 52, 58, 61, 64, 71, 81, 93, 106, 117, 123, 126, 130, 134, 142, 150, 157, 161, 165, 178, 187, 193, 198, 201, 206, 209, 215, 220, 227, 234, 239, 246, 250, 257, 259, 265, 269, 277, 285, 296, 301, 303, 308, 312, 317, 322, 327, 331, 335, 338, 343, 348, 353, 360, 369, 377, 386, 398, 411, 424, 435, 447, 459, 472, 486, 500, 518, 538, 559}
92
93func (i Position) String() string {
94 if i < 0 || i >= Position(len(_Position_index)-1) {
95 return "Position(" + strconv.FormatInt(int64(i), 10) + ")"
96 }
97 return _Position_name[_Position_index[i]:_Position_index[i+1]]
98}

Callers

nothing calls this directly

Calls 1

PositionTypeAlias · 0.70

Tested by

no test coverage detected