Browse Source

FuncDecNode for the Dependecny Tree Generator added

constants
Tristan B. V. Kildaire 10 months ago
parent
commit
88a48e1b3d
  1. 21
      source/tlang/compiler/typecheck/dependency/variables.d

21
source/tlang/compiler/typecheck/dependency/variables.d

@ -28,6 +28,27 @@ public class VariableNode : DNode
}
}
public class FuncDecNode : DNode
{
private Function funcHandle;
this(DNodeGenerator dnodegen, Function funcHandle)
{
super(dnodegen, funcHandle);
this.funcHandle = funcHandle;
initName();
}
private void initName()
{
name = "FuncHandle:"~resolver.generateName(cast(Container)dnodegen.root.getEntity(), cast(Entity)entity);
}
}
public class ModuleVariableDeclaration : VariableNode

Loading…
Cancel
Save