MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Current

Method Current

query/lex.go:122–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func (l *lexer) Current() item {
123 if l.last.typ == 0 {
124 l.last = <-l.items
125 }
126
127 return l.last
128}
129
130func (l *lexer) Consume() {
131 l.last = <-l.items

Callers 12

skipIfRootFunction · 0.80
parseMethod · 0.80
QueryMethod · 0.80
AMethod · 0.80
BMethod · 0.80
CMethod · 0.80
DMethod · 0.80
ConditionMethod · 0.80
ArchConditionMethod · 0.80
TestConsumeMethod · 0.80
TestStringMethod · 0.80
TestErrorMethod · 0.80

Calls

no outgoing calls

Tested by 4

skipIfRootFunction · 0.64
TestConsumeMethod · 0.64
TestStringMethod · 0.64
TestErrorMethod · 0.64