MCPcopy
hub / github.com/perkeep/perkeep / String

Method String

pkg/search/lexer.go:69–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (t token) String() string {
70 switch t.typ {
71 case tokenEOF:
72 return "EOF"
73 case tokenError:
74 return fmt.Sprintf("{err:%q at pos: %d}", t.val, t.start)
75 }
76 return fmt.Sprintf("{t:%v,%q (col: %d)}", t.typ, t.val, t.start)
77}
78
79type lexer struct {
80 input string

Callers 15

URLSuffixMethod · 0.45
GetClaimsMethod · 0.45
EdgesToMethod · 0.45
GetSignerPathsMethod · 0.45
parseAtomMethod · 0.45
GetMethod · 0.45
URLSuffixMethod · 0.45
peerBlobMethod · 0.45
ErrorMethod · 0.45
describedBlobMethod · 0.45
DescribeSyncMethod · 0.45
newMatchesMethod · 0.45

Calls

no outgoing calls

Tested by 11

dbRefStrFunction · 0.36
TestDescribeRaceFunction · 0.36
TestDescribeLocationFunction · 0.36
TestDescribePermNoAttrFunction · 0.36
TestDescribeEmptyDirFunction · 0.36
handlerDescribeTestSetupFunction · 0.36
tbRefStrFunction · 0.36
initTestsFunction · 0.36