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

Method Scan

scanner/scanner.go:585–826  ·  view source on GitHub ↗

Scan scans the next token and returns the token position, the token, and its literal string if applicable. The source end is indicated by token.EOF. If the returned token is a literal (token.IDENT, token.INT, token.FLOAT, token.IMAG, token.CHAR, token.STRING) or token.COMMENT, the literal string ha

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

next0Method · 0.80

Calls 15

nextMethod · 0.95
errorMethod · 0.95
skipWhitespaceMethod · 0.95
scanIdentifierMethod · 0.95
scanNumberMethod · 0.95
scanRawString2Method · 0.95
scanStringMethod · 0.95
scanCharMethod · 0.95
scanRawStringMethod · 0.95
switch2Method · 0.95
switch3Method · 0.95
scanCommentMethod · 0.95

Tested by

no test coverage detected