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

Method flush

from_go/from_go.go:836–845  ·  view source on GitHub ↗

flush prints any pending comments and whitespace occurring textually before the position of the next token tok. The flush result indicates if a newline was written or if a formfeed was dropped from the whitespace buffer.

(next token.Position, tok token.Token)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

setCommentMethod · 0.95
alignFuncIndentMethod · 0.95
printMethod · 0.95
fprintMethod · 0.95

Calls 3

commentBeforeMethod · 0.95
intersperseCommentsMethod · 0.95
writeWhitespaceMethod · 0.95

Tested by

no test coverage detected