Source file src/debug/dwarf/attr_string.go

Documentation: debug/dwarf

     1  // Code generated by "stringer -type Attr -trimprefix=Attr"; DO NOT EDIT.
     2  
     3  package dwarf
     4  
     5  import "strconv"
     6  
     7  const _Attr_name = "SiblingLocationNameOrderingByteSizeBitOffsetBitSizeStmtListLowpcHighpcLanguageDiscrDiscrValueVisibilityImportStringLengthCommonRefCompDirConstValueContainingTypeDefaultValueInlineIsOptionalLowerBoundProducerPrototypedReturnAddrStartScopeStrideSizeUpperBoundAbstractOriginAccessibilityAddrClassArtificialBaseTypesCallingCountDataMemberLocDeclColumnDeclFileDeclLineDeclarationDiscrListEncodingExternalFrameBaseFriendIdentifierCaseMacroInfoNamelistItemPrioritySegmentSpecificationStaticLinkTypeUseLocationVarParamVirtualityVtableElemLocAllocatedAssociatedDataLocationStrideEntrypcUseUTF8ExtensionRangesTrampolineCallColumnCallFileCallLineDescription"
     8  
     9  var _Attr_map = map[Attr]string{
    10  	1:  _Attr_name[0:7],
    11  	2:  _Attr_name[7:15],
    12  	3:  _Attr_name[15:19],
    13  	9:  _Attr_name[19:27],
    14  	11: _Attr_name[27:35],
    15  	12: _Attr_name[35:44],
    16  	13: _Attr_name[44:51],
    17  	16: _Attr_name[51:59],
    18  	17: _Attr_name[59:64],
    19  	18: _Attr_name[64:70],
    20  	19: _Attr_name[70:78],
    21  	21: _Attr_name[78:83],
    22  	22: _Attr_name[83:93],
    23  	23: _Attr_name[93:103],
    24  	24: _Attr_name[103:109],
    25  	25: _Attr_name[109:121],
    26  	26: _Attr_name[121:130],
    27  	27: _Attr_name[130:137],
    28  	28: _Attr_name[137:147],
    29  	29: _Attr_name[147:161],
    30  	30: _Attr_name[161:173],
    31  	32: _Attr_name[173:179],
    32  	33: _Attr_name[179:189],
    33  	34: _Attr_name[189:199],
    34  	37: _Attr_name[199:207],
    35  	39: _Attr_name[207:217],
    36  	42: _Attr_name[217:227],
    37  	44: _Attr_name[227:237],
    38  	46: _Attr_name[237:247],
    39  	47: _Attr_name[247:257],
    40  	49: _Attr_name[257:271],
    41  	50: _Attr_name[271:284],
    42  	51: _Attr_name[284:293],
    43  	52: _Attr_name[293:303],
    44  	53: _Attr_name[303:312],
    45  	54: _Attr_name[312:319],
    46  	55: _Attr_name[319:324],
    47  	56: _Attr_name[324:337],
    48  	57: _Attr_name[337:347],
    49  	58: _Attr_name[347:355],
    50  	59: _Attr_name[355:363],
    51  	60: _Attr_name[363:374],
    52  	61: _Attr_name[374:383],
    53  	62: _Attr_name[383:391],
    54  	63: _Attr_name[391:399],
    55  	64: _Attr_name[399:408],
    56  	65: _Attr_name[408:414],
    57  	66: _Attr_name[414:428],
    58  	67: _Attr_name[428:437],
    59  	68: _Attr_name[437:449],
    60  	69: _Attr_name[449:457],
    61  	70: _Attr_name[457:464],
    62  	71: _Attr_name[464:477],
    63  	72: _Attr_name[477:487],
    64  	73: _Attr_name[487:491],
    65  	74: _Attr_name[491:502],
    66  	75: _Attr_name[502:510],
    67  	76: _Attr_name[510:520],
    68  	77: _Attr_name[520:533],
    69  	78: _Attr_name[533:542],
    70  	79: _Attr_name[542:552],
    71  	80: _Attr_name[552:564],
    72  	81: _Attr_name[564:570],
    73  	82: _Attr_name[570:577],
    74  	83: _Attr_name[577:584],
    75  	84: _Attr_name[584:593],
    76  	85: _Attr_name[593:599],
    77  	86: _Attr_name[599:609],
    78  	87: _Attr_name[609:619],
    79  	88: _Attr_name[619:627],
    80  	89: _Attr_name[627:635],
    81  	90: _Attr_name[635:646],
    82  }
    83  
    84  func (i Attr) String() string {
    85  	if str, ok := _Attr_map[i]; ok {
    86  		return str
    87  	}
    88  	return "Attr(" + strconv.FormatInt(int64(i), 10) + ")"
    89  }
    90  

View as plain text