cppast/src/refl/ClassMetaGen.cs

36 lines
893 B
C#
Raw Normal View History

2024-04-20 18:02:20 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace refl
{
internal class ClassMetaGen
{
public static Dictionary<string, StringBuilder> FileList = new Dictionary<string, StringBuilder>();
public static void GenCppMeta(ModuleMeta module)
{
foreach(var pair in ModuleMeta.NameMaps)
{
FileList.Add(pair.Key, new StringBuilder());
}
foreach(var cls in module.ClassList)
{
}
}
public static void GenClassMeta(ModuleMeta module)
{
foreach (var cls in module.ClassList)
{
foreach (var field in cls.Fields)
{
}
}
}
}
}