LiFan
2024-12-17 e3f724c9fd36995c207a6ed173849c20aaa2e3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include <JObject.hpp>
#include <JString.hpp>
class JModule :
    public JObject
{
public:
    bool AddModule(JModule* _module);
    bool AddNameSpace(JObject* _ns);
    bool AddMethod(JObject* _method);
    bool AddType(JObject* _type);
    bool AddInterface(JObject* _interface);
    bool AddConst(JObject* _const);
    bool AddTag(JObject* _tag);
    bool AddField(JObject* _field);
public:
    JString toString();
    JString toXml();
};