public override void OutAStructDecl(AStructDecl node)
 {
     if (node.GetClassToken() != null && node.GetIntDim() == null)
         node.Parent().RemoveChild(node);
     base.OutAStructDecl(node);
 }
 public override void CaseAStructDecl(AStructDecl node)
 {
     if (node.GetLocals().Count == 0)
         node.Parent().RemoveChild(node);
     else
         base.CaseAStructDecl(node);
 }
 public override void CaseAStructDecl(AStructDecl node)
 {
     if (Structs.Any(structDecl => structDecl.GetName().Text == node.GetName().Text))
     {
         return;
     }
     Structs.Add(node);
     StructMethods.Add(node, new List<AMethodDecl>());
     StructFields.Add(node, new List<AALocalDecl>());
     base.CaseAStructDecl(node);
     node.Parent().RemoveChild(node);
 }