CHAPI (Common Hierarchical Abstract Parser and Information Converter) streamlines code analysis by converting diverse language source code into a unified abstract model, simplifying cross-language development. Chapi 是一个通用层次抽象解析器与信息转换器,它可以将不同编程语言的源代码转换为统一的层次抽象模型。
fixed #18
没接触过这块领域,尝试了一下。
因为
enum
枚举类型在编译的时候实际上就是 继承至java.lang.Enum
的class
所以节点类型我暂时复用的DataStructType.CLASS
不确定是否合理。