MCPcopy Create free account
hub / github.com/DAddYE/igo / switch2

Method switch2

scanner/scanner.go:518–524  ·  view source on GitHub ↗

Helper functions for scanning multi-byte tokens such as >> += >>= . Different routines recognize different length tok_i based on matches of ch_i. If a token ends in '=', the result is tok1 or tok3 respectively. Otherwise, the result is tok0 if there was no other matching character, or tok2 if the ma

(tok0, tok1 token.Token)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ScanMethod · 0.95

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected