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

Method pop

ast/commentmap.go:117–125  ·  view source on GitHub ↗

pop pops all nodes that appear lexically before pos (i.e., whose lexical extent has ended before or at pos). It returns the last node popped.

(pos token.Pos)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

pushMethod · 0.95
NewCommentMapFunction · 0.80

Calls 1

EndMethod · 0.65

Tested by

no test coverage detected