GoPLS Viewer

Home|gopls/internal/pkgbits/syncmarker_string.go
1// Code generated by "stringer -type=SyncMarker -trimprefix=Sync"; DO NOT EDIT.
2
3package pkgbits
4
5import "strconv"
6
7func _() {
8    // An "invalid array index" compiler error signifies that the constant values have changed.
9    // Re-run the stringer command to generate them again.
10    var x [1]struct{}
11    _ = x[SyncEOF-1]
12    _ = x[SyncBool-2]
13    _ = x[SyncInt64-3]
14    _ = x[SyncUint64-4]
15    _ = x[SyncString-5]
16    _ = x[SyncValue-6]
17    _ = x[SyncVal-7]
18    _ = x[SyncRelocs-8]
19    _ = x[SyncReloc-9]
20    _ = x[SyncUseReloc-10]
21    _ = x[SyncPublic-11]
22    _ = x[SyncPos-12]
23    _ = x[SyncPosBase-13]
24    _ = x[SyncObject-14]
25    _ = x[SyncObject1-15]
26    _ = x[SyncPkg-16]
27    _ = x[SyncPkgDef-17]
28    _ = x[SyncMethod-18]
29    _ = x[SyncType-19]
30    _ = x[SyncTypeIdx-20]
31    _ = x[SyncTypeParamNames-21]
32    _ = x[SyncSignature-22]
33    _ = x[SyncParams-23]
34    _ = x[SyncParam-24]
35    _ = x[SyncCodeObj-25]
36    _ = x[SyncSym-26]
37    _ = x[SyncLocalIdent-27]
38    _ = x[SyncSelector-28]
39    _ = x[SyncPrivate-29]
40    _ = x[SyncFuncExt-30]
41    _ = x[SyncVarExt-31]
42    _ = x[SyncTypeExt-32]
43    _ = x[SyncPragma-33]
44    _ = x[SyncExprList-34]
45    _ = x[SyncExprs-35]
46    _ = x[SyncExpr-36]
47    _ = x[SyncExprType-37]
48    _ = x[SyncAssign-38]
49    _ = x[SyncOp-39]
50    _ = x[SyncFuncLit-40]
51    _ = x[SyncCompLit-41]
52    _ = x[SyncDecl-42]
53    _ = x[SyncFuncBody-43]
54    _ = x[SyncOpenScope-44]
55    _ = x[SyncCloseScope-45]
56    _ = x[SyncCloseAnotherScope-46]
57    _ = x[SyncDeclNames-47]
58    _ = x[SyncDeclName-48]
59    _ = x[SyncStmts-49]
60    _ = x[SyncBlockStmt-50]
61    _ = x[SyncIfStmt-51]
62    _ = x[SyncForStmt-52]
63    _ = x[SyncSwitchStmt-53]
64    _ = x[SyncRangeStmt-54]
65    _ = x[SyncCaseClause-55]
66    _ = x[SyncCommClause-56]
67    _ = x[SyncSelectStmt-57]
68    _ = x[SyncDecls-58]
69    _ = x[SyncLabeledStmt-59]
70    _ = x[SyncUseObjLocal-60]
71    _ = x[SyncAddLocal-61]
72    _ = x[SyncLinkname-62]
73    _ = x[SyncStmt1-63]
74    _ = x[SyncStmtsEnd-64]
75    _ = x[SyncLabel-65]
76    _ = x[SyncOptLabel-66]
77}
78
79const _SyncMarker_name = "EOFBoolInt64Uint64StringValueValRelocsRelocUseRelocPublicPosPosBaseObjectObject1PkgPkgDefMethodTypeTypeIdxTypeParamNamesSignatureParamsParamCodeObjSymLocalIdentSelectorPrivateFuncExtVarExtTypeExtPragmaExprListExprsExprExprTypeAssignOpFuncLitCompLitDeclFuncBodyOpenScopeCloseScopeCloseAnotherScopeDeclNamesDeclNameStmtsBlockStmtIfStmtForStmtSwitchStmtRangeStmtCaseClauseCommClauseSelectStmtDeclsLabeledStmtUseObjLocalAddLocalLinknameStmt1StmtsEndLabelOptLabel"
80
81var _SyncMarker_index = [...]uint16{0371218242932384351576067738083899599106120129135140147150160168175182188195201209214218226232234241248252260269279296305313318327333340350359369379389394405416424432437445450458}
82
83func (i SyncMarkerString() string {
84    i -= 1
85    if i < 0 || i >= SyncMarker(len(_SyncMarker_index)-1) {
86        return "SyncMarker(" + strconv.FormatInt(int64(i+1), 10) + ")"
87    }
88    return _SyncMarker_name[_SyncMarker_index[i]:_SyncMarker_index[i+1]]
89}
90
MembersX
_
_SyncMarker_name
SyncMarker.String.i
SyncMarker.String
strconv
Members
X