Source file src/cmd/compile/internal/noder/syncmarker_string.go

     1  // Code generated by "stringer -type=syncMarker -trimprefix=sync"; DO NOT EDIT.
     2  
     3  package noder
     4  
     5  import "strconv"
     6  
     7  func _() {
     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[syncNode-1]
    12  	_ = x[syncBool-2]
    13  	_ = x[syncInt64-3]
    14  	_ = x[syncUint64-4]
    15  	_ = x[syncString-5]
    16  	_ = x[syncPos-6]
    17  	_ = x[syncPkg-7]
    18  	_ = x[syncSym-8]
    19  	_ = x[syncSelector-9]
    20  	_ = x[syncKind-10]
    21  	_ = x[syncType-11]
    22  	_ = x[syncTypePkg-12]
    23  	_ = x[syncSignature-13]
    24  	_ = x[syncParam-14]
    25  	_ = x[syncOp-15]
    26  	_ = x[syncObject-16]
    27  	_ = x[syncExpr-17]
    28  	_ = x[syncStmt-18]
    29  	_ = x[syncDecl-19]
    30  	_ = x[syncConstDecl-20]
    31  	_ = x[syncFuncDecl-21]
    32  	_ = x[syncTypeDecl-22]
    33  	_ = x[syncVarDecl-23]
    34  	_ = x[syncPragma-24]
    35  	_ = x[syncValue-25]
    36  	_ = x[syncEOF-26]
    37  	_ = x[syncMethod-27]
    38  	_ = x[syncFuncBody-28]
    39  	_ = x[syncUse-29]
    40  	_ = x[syncUseObj-30]
    41  	_ = x[syncObjectIdx-31]
    42  	_ = x[syncTypeIdx-32]
    43  	_ = x[syncBOF-33]
    44  	_ = x[syncEntry-34]
    45  	_ = x[syncOpenScope-35]
    46  	_ = x[syncCloseScope-36]
    47  	_ = x[syncGlobal-37]
    48  	_ = x[syncLocal-38]
    49  	_ = x[syncDefine-39]
    50  	_ = x[syncDefLocal-40]
    51  	_ = x[syncUseLocal-41]
    52  	_ = x[syncDefGlobal-42]
    53  	_ = x[syncUseGlobal-43]
    54  	_ = x[syncTypeParams-44]
    55  	_ = x[syncUseLabel-45]
    56  	_ = x[syncDefLabel-46]
    57  	_ = x[syncFuncLit-47]
    58  	_ = x[syncCommonFunc-48]
    59  	_ = x[syncBodyRef-49]
    60  	_ = x[syncLinksymExt-50]
    61  	_ = x[syncHack-51]
    62  	_ = x[syncSetlineno-52]
    63  	_ = x[syncName-53]
    64  	_ = x[syncImportDecl-54]
    65  	_ = x[syncDeclNames-55]
    66  	_ = x[syncDeclName-56]
    67  	_ = x[syncExprList-57]
    68  	_ = x[syncExprs-58]
    69  	_ = x[syncWrapname-59]
    70  	_ = x[syncTypeExpr-60]
    71  	_ = x[syncTypeExprOrNil-61]
    72  	_ = x[syncChanDir-62]
    73  	_ = x[syncParams-63]
    74  	_ = x[syncCloseAnotherScope-64]
    75  	_ = x[syncSum-65]
    76  	_ = x[syncUnOp-66]
    77  	_ = x[syncBinOp-67]
    78  	_ = x[syncStructType-68]
    79  	_ = x[syncInterfaceType-69]
    80  	_ = x[syncPackname-70]
    81  	_ = x[syncEmbedded-71]
    82  	_ = x[syncStmts-72]
    83  	_ = x[syncStmtsFall-73]
    84  	_ = x[syncStmtFall-74]
    85  	_ = x[syncBlockStmt-75]
    86  	_ = x[syncIfStmt-76]
    87  	_ = x[syncForStmt-77]
    88  	_ = x[syncSwitchStmt-78]
    89  	_ = x[syncRangeStmt-79]
    90  	_ = x[syncCaseClause-80]
    91  	_ = x[syncCommClause-81]
    92  	_ = x[syncSelectStmt-82]
    93  	_ = x[syncDecls-83]
    94  	_ = x[syncLabeledStmt-84]
    95  	_ = x[syncCompLit-85]
    96  	_ = x[sync1-86]
    97  	_ = x[sync2-87]
    98  	_ = x[sync3-88]
    99  	_ = x[sync4-89]
   100  	_ = x[syncN-90]
   101  	_ = x[syncDefImplicit-91]
   102  	_ = x[syncUseName-92]
   103  	_ = x[syncUseObjLocal-93]
   104  	_ = x[syncAddLocal-94]
   105  	_ = x[syncBothSignature-95]
   106  	_ = x[syncSetUnderlying-96]
   107  	_ = x[syncLinkname-97]
   108  	_ = x[syncStmt1-98]
   109  	_ = x[syncStmtsEnd-99]
   110  	_ = x[syncDeclare-100]
   111  	_ = x[syncTopDecls-101]
   112  	_ = x[syncTopConstDecl-102]
   113  	_ = x[syncTopFuncDecl-103]
   114  	_ = x[syncTopTypeDecl-104]
   115  	_ = x[syncTopVarDecl-105]
   116  	_ = x[syncObject1-106]
   117  	_ = x[syncAddBody-107]
   118  	_ = x[syncLabel-108]
   119  	_ = x[syncFuncExt-109]
   120  	_ = x[syncMethExt-110]
   121  	_ = x[syncOptLabel-111]
   122  	_ = x[syncScalar-112]
   123  	_ = x[syncStmtDecls-113]
   124  	_ = x[syncDeclLocal-114]
   125  	_ = x[syncObjLocal-115]
   126  	_ = x[syncObjLocal1-116]
   127  	_ = x[syncDeclareLocal-117]
   128  	_ = x[syncPublic-118]
   129  	_ = x[syncPrivate-119]
   130  	_ = x[syncRelocs-120]
   131  	_ = x[syncReloc-121]
   132  	_ = x[syncUseReloc-122]
   133  	_ = x[syncVarExt-123]
   134  	_ = x[syncPkgDef-124]
   135  	_ = x[syncTypeExt-125]
   136  	_ = x[syncVal-126]
   137  	_ = x[syncCodeObj-127]
   138  	_ = x[syncPosBase-128]
   139  	_ = x[syncLocalIdent-129]
   140  	_ = x[syncTypeParamNames-130]
   141  	_ = x[syncTypeParamBounds-131]
   142  	_ = x[syncImplicitTypes-132]
   143  	_ = x[syncObjectName-133]
   144  }
   145  
   146  const _syncMarker_name = "NodeBoolInt64Uint64StringPosPkgSymSelectorKindTypeTypePkgSignatureParamOpObjectExprStmtDeclConstDeclFuncDeclTypeDeclVarDeclPragmaValueEOFMethodFuncBodyUseUseObjObjectIdxTypeIdxBOFEntryOpenScopeCloseScopeGlobalLocalDefineDefLocalUseLocalDefGlobalUseGlobalTypeParamsUseLabelDefLabelFuncLitCommonFuncBodyRefLinksymExtHackSetlinenoNameImportDeclDeclNamesDeclNameExprListExprsWrapnameTypeExprTypeExprOrNilChanDirParamsCloseAnotherScopeSumUnOpBinOpStructTypeInterfaceTypePacknameEmbeddedStmtsStmtsFallStmtFallBlockStmtIfStmtForStmtSwitchStmtRangeStmtCaseClauseCommClauseSelectStmtDeclsLabeledStmtCompLit1234NDefImplicitUseNameUseObjLocalAddLocalBothSignatureSetUnderlyingLinknameStmt1StmtsEndDeclareTopDeclsTopConstDeclTopFuncDeclTopTypeDeclTopVarDeclObject1AddBodyLabelFuncExtMethExtOptLabelScalarStmtDeclsDeclLocalObjLocalObjLocal1DeclareLocalPublicPrivateRelocsRelocUseRelocVarExtPkgDefTypeExtValCodeObjPosBaseLocalIdentTypeParamNamesTypeParamBoundsImplicitTypesObjectName"
   147  
   148  var _syncMarker_index = [...]uint16{0, 4, 8, 13, 19, 25, 28, 31, 34, 42, 46, 50, 57, 66, 71, 73, 79, 83, 87, 91, 100, 108, 116, 123, 129, 134, 137, 143, 151, 154, 160, 169, 176, 179, 184, 193, 203, 209, 214, 220, 228, 236, 245, 254, 264, 272, 280, 287, 297, 304, 314, 318, 327, 331, 341, 350, 358, 366, 371, 379, 387, 400, 407, 413, 430, 433, 437, 442, 452, 465, 473, 481, 486, 495, 503, 512, 518, 525, 535, 544, 554, 564, 574, 579, 590, 597, 598, 599, 600, 601, 602, 613, 620, 631, 639, 652, 665, 673, 678, 686, 693, 701, 713, 724, 735, 745, 752, 759, 764, 771, 778, 786, 792, 801, 810, 818, 827, 839, 845, 852, 858, 863, 871, 877, 883, 890, 893, 900, 907, 917, 931, 946, 959, 969}
   149  
   150  func (i syncMarker) String() string {
   151  	i -= 1
   152  	if i < 0 || i >= syncMarker(len(_syncMarker_index)-1) {
   153  		return "syncMarker(" + strconv.FormatInt(int64(i+1), 10) + ")"
   154  	}
   155  	return _syncMarker_name[_syncMarker_index[i]:_syncMarker_index[i+1]]
   156  }
   157  

View as plain text