diff --git a/source/tlang/compiler/symbols/data.d b/source/tlang/compiler/symbols/data.d index 44e35c2d..cb31509b 100644 --- a/source/tlang/compiler/symbols/data.d +++ b/source/tlang/compiler/symbols/data.d @@ -162,6 +162,16 @@ public class Entity : Statement { return name; } + + private Entity[] deps; + public Entity[] getDeps() + { + return deps; + } + public void addDep(Entity entity) + { + deps ~= entity; + } } /* TODO: DO we need intermediary class, TypedEntity */