aboutsummaryrefslogtreecommitdiffstats
path: root/skate/verify_string.go
blob: 53bbd30c0b55380f01e2956f91fddf65808de27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Code generated by "stringer -type=Status,Reason -output verify_string.go verify.go"; DO NOT EDIT.

package skate

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[StatusUnknown-0]
	_ = x[StatusExact-1]
	_ = x[StatusStrong-2]
	_ = x[StatusWeak-3]
	_ = x[StatusDifferent-4]
	_ = x[StatusAmbiguous-5]
}

const _Status_name = "StatusUnknownStatusExactStatusStrongStatusWeakStatusDifferentStatusAmbiguous"

var _Status_index = [...]uint8{0, 13, 24, 36, 46, 61, 76}

func (i Status) String() string {
	if i < 0 || i >= Status(len(_Status_index)-1) {
		return "Status(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _Status_name[_Status_index[i]:_Status_index[i+1]]
}
func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[ReasonUnknown-6]
	_ = x[ReasonAppendix-7]
	_ = x[ReasonArxiv-8]
	_ = x[ReasonArxivVersion-9]
	_ = x[ReasonBlacklisted-10]
	_ = x[ReasonBlacklistedFragment-11]
	_ = x[ReasonBookChapter-12]
	_ = x[ReasonChemFormula-13]
	_ = x[ReasonComponent-14]
	_ = x[ReasonContainer-15]
	_ = x[ReasonContainerNameBlacklist-16]
	_ = x[ReasonContribIntersectionEmpty-17]
	_ = x[ReasonCustomBSISubdoc-18]
	_ = x[ReasonCustomBSIUndated-19]
	_ = x[ReasonCustomIEEEArxiv-20]
	_ = x[ReasonCustomIOPMAPattern-21]
	_ = x[ReasonCustomPrefix1014288-22]
	_ = x[ReasonCustomPrefix105860ChoiceReview-23]
	_ = x[ReasonCustomPrefix107916-24]
	_ = x[ReasonCustomVHS-25]
	_ = x[ReasonDOI-26]
	_ = x[ReasonDataciteRelatedID-27]
	_ = x[ReasonDataciteVersion-28]
	_ = x[ReasonDatasetDOI-29]
	_ = x[ReasonFigshareVersion-30]
	_ = x[ReasonISBN-31]
	_ = x[ReasonJaccardAuthors-32]
	_ = x[ReasonJstorID-33]
	_ = x[ReasonMaxClusterSizeExceeded-34]
	_ = x[ReasonNumDiff-35]
	_ = x[ReasonPMCID-36]
	_ = x[ReasonPMID-37]
	_ = x[ReasonPMIDDOIPair-38]
	_ = x[ReasonPageCount-39]
	_ = x[ReasonPreprintPublished-40]
	_ = x[ReasonPublisherBlacklist-41]
	_ = x[ReasonReleaseType-42]
	_ = x[ReasonSharedDOIPrefix-43]
	_ = x[ReasonShortTitle-44]
	_ = x[ReasonSingularCluster-45]
	_ = x[ReasonSlugTitleAuthorMatch-46]
	_ = x[ReasonSubtitle-47]
	_ = x[ReasonTitleArtifact-48]
	_ = x[ReasonTitleAuthorMatch-49]
	_ = x[ReasonTitleFilename-50]
	_ = x[ReasonTokenizedAuthors-51]
	_ = x[ReasonVersionedDOI-52]
	_ = x[ReasonWorkID-53]
	_ = x[ReasonYear-54]
}

const _Reason_name = "ReasonUnknownReasonAppendixReasonArxivReasonArxivVersionReasonBlacklistedReasonBlacklistedFragmentReasonBookChapterReasonChemFormulaReasonComponentReasonContainerReasonContainerNameBlacklistReasonContribIntersectionEmptyReasonCustomBSISubdocReasonCustomBSIUndatedReasonCustomIEEEArxivReasonCustomIOPMAPatternReasonCustomPrefix1014288ReasonCustomPrefix105860ChoiceReviewReasonCustomPrefix107916ReasonCustomVHSReasonDOIReasonDataciteRelatedIDReasonDataciteVersionReasonDatasetDOIReasonFigshareVersionReasonISBNReasonJaccardAuthorsReasonJstorIDReasonMaxClusterSizeExceededReasonNumDiffReasonPMCIDReasonPMIDReasonPMIDDOIPairReasonPageCountReasonPreprintPublishedReasonPublisherBlacklistReasonReleaseTypeReasonSharedDOIPrefixReasonShortTitleReasonSingularClusterReasonSlugTitleAuthorMatchReasonSubtitleReasonTitleArtifactReasonTitleAuthorMatchReasonTitleFilenameReasonTokenizedAuthorsReasonVersionedDOIReasonWorkIDReasonYear"

var _Reason_index = [...]uint16{0, 13, 27, 38, 56, 73, 98, 115, 132, 147, 162, 190, 220, 241, 263, 284, 308, 333, 369, 393, 408, 417, 440, 461, 477, 498, 508, 528, 541, 569, 582, 593, 603, 620, 635, 658, 682, 699, 720, 736, 757, 783, 797, 816, 838, 857, 879, 897, 909, 919}

func (i Reason) String() string {
	i -= 6
	if i < 0 || i >= Reason(len(_Reason_index)-1) {
		return "Reason(" + strconv.FormatInt(int64(i+6), 10) + ")"
	}
	return _Reason_name[_Reason_index[i]:_Reason_index[i+1]]
}