mirror of https://github.com/tbklang/tlang.git
31 lines
835 B
D
31 lines
835 B
D
module tlang.compiler.typecheck.dependency.classes.classStaticDep;
|
|
|
|
import tlang.compiler.symbols.check;
|
|
import tlang.compiler.symbols.data;
|
|
import std.conv : to;
|
|
import std.string;
|
|
import std.stdio;
|
|
import gogga;
|
|
import tlang.compiler.parsing.core;
|
|
import tlang.compiler.typecheck.resolution;
|
|
import tlang.compiler.typecheck.exceptions;
|
|
import tlang.compiler.typecheck.core;
|
|
import tlang.compiler.symbols.typing.core;
|
|
import tlang.compiler.symbols.typing.builtins;
|
|
import tlang.compiler.typecheck.dependency.core;
|
|
|
|
public class ClassStaticNode : DNode
|
|
{
|
|
|
|
this(DNodeGenerator dnodegen, Clazz entity)
|
|
{
|
|
super(dnodegen, entity);
|
|
|
|
initName();
|
|
}
|
|
|
|
private void initName()
|
|
{
|
|
name = "ClassStaticInit: "~resolver.generateName(cast(Container)dnodegen.root.getEntity(), cast(Entity)entity);
|
|
}
|
|
} |