| 1 |
|
| 2 |
|
| 3 |
package mssql |
| 4 |
|
| 5 |
import "fmt" |
| 6 |
|
| 7 |
const ( |
| 8 |
_token_name_0 = "tokenReturnStatus" |
| 9 |
_token_name_1 = "tokenColMetadata" |
| 10 |
_token_name_2 = "tokenOrdertokenErrortokenInfo" |
| 11 |
_token_name_3 = "tokenLoginAck" |
| 12 |
_token_name_4 = "tokenRowtokenNbcRow" |
| 13 |
_token_name_5 = "tokenEnvChange" |
| 14 |
_token_name_6 = "tokenSSPI" |
| 15 |
_token_name_7 = "tokenDonetokenDoneProctokenDoneInProc" |
| 16 |
) |
| 17 |
|
| 18 |
var ( |
| 19 |
_token_index_0 = [...]uint8{0, 17} |
| 20 |
_token_index_1 = [...]uint8{0, 16} |
| 21 |
_token_index_2 = [...]uint8{0, 10, 20, 29} |
| 22 |
_token_index_3 = [...]uint8{0, 13} |
| 23 |
_token_index_4 = [...]uint8{0, 8, 19} |
| 24 |
_token_index_5 = [...]uint8{0, 14} |
| 25 |
_token_index_6 = [...]uint8{0, 9} |
| 26 |
_token_index_7 = [...]uint8{0, 9, 22, 37} |
| 27 |
) |
| 28 |
|
| 29 |
func (i token) String() string { |
| 30 |
switch { |
| 31 |
case i == 121: |
| 32 |
return _token_name_0 |
| 33 |
case i == 129: |
| 34 |
return _token_name_1 |
| 35 |
case 169 <= i && i <= 171: |
| 36 |
i -= 169 |
| 37 |
return _token_name_2[_token_index_2[i]:_token_index_2[i+1]] |
| 38 |
case i == 173: |
| 39 |
return _token_name_3 |
| 40 |
case 209 <= i && i <= 210: |
| 41 |
i -= 209 |
| 42 |
return _token_name_4[_token_index_4[i]:_token_index_4[i+1]] |
| 43 |
case i == 227: |
| 44 |
return _token_name_5 |
| 45 |
case i == 237: |
| 46 |
return _token_name_6 |
| 47 |
case 253 <= i && i <= 255: |
| 48 |
i -= 253 |
| 49 |
return _token_name_7[_token_index_7[i]:_token_index_7[i+1]] |
| 50 |
default: |
| 51 |
return fmt.Sprintf("token(%d)", i) |
| 52 |
} |
| 53 |
} |