package
Version:
v0.5.1
Opens a new window with list of versions in this module.
Published: May 14, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type CFG struct {
Entry *Node
Exits []*Node
}
New returns the CFG of the top-level expressions and a map of FuncDecls to CFGs
func (cfg *CFG) Visit(f func(*Node))
Visit runs the given closure over the CFG in DFS preorder
Source Files
¶
Click to show internal directories.
Click to hide internal directories.