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

Method advance

pkg/workflow/expression_parser.go:278–282  ·  view source on GitHub ↗

advance moves to the next token

()

Source from the content-addressed store, hash-verified

276
277// advance moves to the next token
278func (p *ExpressionParser) advance() {
279 if p.pos < len(p.tokens) {
280 p.pos++
281 }
282}
283
284// VisitExpressionTree walks through an expression tree and calls the visitor function
285// for each ExpressionNode (literal expression) found in the tree

Callers 4

parseOrExpressionMethod · 0.95
parseAndExpressionMethod · 0.95
parseUnaryExpressionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected