mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-25 08:18:43 +00:00
going to fix grammar
This commit is contained in:
parent
656f58bcde
commit
1289dda838
2 changed files with 28 additions and 9 deletions
|
|
@ -79,7 +79,13 @@ struct AnyTypeInfo {
|
|||
interpreter::tokens::AnyType* value;
|
||||
};
|
||||
|
||||
struct TypeInfo { std::variant<AbstractTypeInfo, AliasTypeInfo, AnyTypeInfo> type; };
|
||||
struct TypeInfo { std::variant<AbstractTypeInfo, AliasTypeInfo, AnyTypeInfo> type; };
|
||||
|
||||
struct ConstructorInfo {
|
||||
std::string name;
|
||||
size_t order;
|
||||
utils::IdType type_id;
|
||||
};
|
||||
|
||||
struct FunctionDeclarationInfo {
|
||||
std::vector<ParameterInfo> parameters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue