MCPcopy Index your code
hub / github.com/perkeep/perkeep / peek

Method peek

pkg/search/expr.go:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (p *parser) peek() *token {
102 if p.peeked == nil {
103 p.peeked = p.readInternal()
104 }
105 return p.peeked
106}
107
108// ReadInternal should not be called directly, use 'next' or 'peek'
109func (p *parser) readInternal() *token {

Callers 10

stripNotMethod · 0.95
parseExpMethod · 0.95
parseGroupMethod · 0.95
parseOrRHSMethod · 0.95
parseAndMethod · 0.95
parseAndRHSMethod · 0.95
parseOperandMethod · 0.95
atomWordsMethod · 0.95
ParserFunction · 0.45
inversionmap.jsFile · 0.45

Calls 1

readInternalMethod · 0.95

Tested by

no test coverage detected