MCPcopy Create free account
hub / github.com/docopt/docopt.go / move

Method move

docopt.go:666–673  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

664}
665
666func (tl *tokenList) move() *token {
667 if len(tl.tokens) > 0 {
668 t := tl.tokens[0]
669 tl.tokens = tl.tokens[1:]
670 return (*token)(&t)
671 }
672 return nil
673}
674
675type patternType uint
676

Callers 6

parseArgvFunction · 0.80
parseExprFunction · 0.80
parseSeqFunction · 0.80
parseAtomFunction · 0.80
parseLongFunction · 0.80
parseShortsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected