lang: interfaces: Partially change Graph signature
This makes some of the Graph sig changes to prepare the code for proper functions. The remaining bits will happen later. Co-authored-by: Samuel Gélineau <gelisam@gmail.com>
This commit is contained in:
@@ -120,11 +120,9 @@ type Expr interface {
|
||||
// returns the collection to the caller.
|
||||
Unify() ([]Invariant, error)
|
||||
|
||||
// Graph returns the reactive function graph expressed by this node.
|
||||
Graph() (*pgraph.Graph, error)
|
||||
|
||||
// Func returns a function that represents this reactively.
|
||||
Func() (Func, error)
|
||||
// Graph returns the reactive function graph expressed by this node. It
|
||||
// also returns the function for this node.
|
||||
Graph() (*pgraph.Graph, Func, error)
|
||||
|
||||
// SetValue stores the result of the last computation of this expression
|
||||
// node.
|
||||
|
||||
Reference in New Issue
Block a user