Need to add grouping of things that must generate toghether

This commit is contained in:
Tristan B. Kildaire 2021-06-07 16:01:39 +02:00
parent b4aa08808f
commit 40982684b3
1 changed files with 23 additions and 0 deletions

View File

@ -287,6 +287,29 @@ public class Variable : TypedEntity, Emittable
{
string emittedCode;
/**
* If we are a class memeber
*/
if(cast(Clazz)parentOf())
{
/* The class we are a member of */
Clazz parentingClass = cast(Clazz)parentOf();
/* If we are a static member */
if(initScope == InitScope.STATIC)
{
}
/* TODO: Handle non-static case */
else
{
}
}
/* TODO: So far only emitting for non assignment */
if(!assignment)
{