Something went wrong. Try again.
馃尡 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
1234567891011121314package core
import "git.urbach.dev/cli/q/src/set"
// functionDependencies contains references to other functions.type functionDependencies struct { Calls set.Ordered[*Function] Globals set.Ordered[*Global]}
// IsLeaf returns true if the function doesn't call other functions.func (f *functionDependencies) IsLeaf() bool { return f.Calls.Count() == 0}