IPoolManager
- Updated API to take in a `DNodeGenerator` as the first argument to `pool(..., ...)`
This commit is contained in:
parent
bb1d5f45c8
commit
4f92a29da2
|
@ -1,6 +1,6 @@
|
|||
module tlang.compiler.typecheck.dependency.pool.interfaces;
|
||||
|
||||
import tlang.compiler.typecheck.dependency.core : DNode;
|
||||
import tlang.compiler.typecheck.dependency.core : DNode, DNodeGenerator;
|
||||
import tlang.compiler.symbols.data : Statement;
|
||||
|
||||
/**
|
||||
|
@ -18,8 +18,9 @@ public interface IPoolManager
|
|||
* to a dependency node
|
||||
*
|
||||
* Params:
|
||||
* generator = the `DNodeGenerator`
|
||||
* statement = the AST node
|
||||
* Returns: the pooled `DNode`
|
||||
*/
|
||||
public DNode pool(Statement statement);
|
||||
public DNode pool(DNodeGenerator generator, Statement statement);
|
||||
}
|
Loading…
Reference in New Issue