Rename the variable containing the name of classes in StandardComponents::Class, nest the Constructor structure in it and remove StandardComponents::ClassBody.
This commit is contained in:
parent
677868a959
commit
34777acc74
|
@ -36,12 +36,11 @@ namespace StandardComponents {
|
|||
// Shorthand for Define(false)
|
||||
Define(): Define(false) {}
|
||||
};
|
||||
struct Constructor: ParseComponent {};
|
||||
struct ClassBody: ParseComponent {};
|
||||
struct Class: ParseComponent {
|
||||
string bullshitText;
|
||||
struct Constructor {};
|
||||
string name;
|
||||
Constructor constructor;
|
||||
explicit Class(string_view text): bullshitText(text) {}
|
||||
explicit Class(string_view text): name(text) {}
|
||||
};
|
||||
namespace types {
|
||||
struct String: ParseComponent {
|
||||
|
|
Loading…
Reference in New Issue