MCPcopy Create free account
hub / github.com/MauriceGit/compiler / parseRangedLoop

Function parseRangedLoop

parser.go:1731–1801  ·  view source on GitHub ↗

parseRangedLoop is special in the case, that we have multiple statements that start with 'for id, id'. So we have to push multiple tokens back to the channel, if we fail before encountering the ':'. After that, we fail hard!

(tokens *TokenChannel)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseBlockFunction · 0.85

Calls 6

parseExpressionFunction · 0.85
parseBlockFunction · 0.85
expectMethod · 0.80
expectTypeMethod · 0.80
pushBackMethod · 0.80
createTokenMethod · 0.80

Tested by

no test coverage detected