36 lines
893 B
C#
36 lines
893 B
C#
|
|
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)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|