MCPcopy Create free account
hub / github.com/github/gh-aw / current

Method current

pkg/workflow/expression_parser.go:270–275  ·  view source on GitHub ↗

current returns the current token

()

Source from the content-addressed store, hash-verified

268
269// current returns the current token
270func (p *ExpressionParser) current() token {
271 if p.pos >= len(p.tokens) {
272 return token{tokenEOF, "", -1}
273 }
274 return p.tokens[p.pos]
275}
276
277// advance moves to the next token
278func (p *ExpressionParser) advance() {

Calls

no outgoing calls