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

Method adjBlock

from_go/nodes.go:1500–1522  ·  view source on GitHub ↗

adjBlock prints an "adjacent" block (e.g., a for-loop or function body) following a header (e.g., a for-loop control clause or function signature) of given headerSize. If the header's and block's size are "small enough" and the block is "simple enough", the block is printed on the current line, with

(b *ast.BlockStmt)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

expr1Method · 0.95
funcDeclMethod · 0.95

Calls 3

printMethod · 0.95
stmtMethod · 0.95
blockMethod · 0.95

Tested by

no test coverage detected