1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Placeholder implementation for constraint expressions

This commit is contained in:
Brian Fiete 2022-03-23 09:35:02 -07:00
parent dead14fac6
commit 6e38c1c3b6
3 changed files with 81 additions and 13 deletions

View file

@ -3000,11 +3000,21 @@ public:
BfSizedArray<ASTREF(BfTokenNode*)> mCommas;
}; BF_AST_DECL(BfGenericConstraint, BfAstNode);
class BfGenericConstraintExpression : public BfAstNode
{
public:
BF_AST_TYPE(BfGenericConstraintExpression, BfAstNode);
BfTokenNode* mWhereToken;
BfExpression* mExpression;
}; BF_AST_DECL(BfGenericConstraintExpression, BfAstNode);
class BfGenericConstraintsDeclaration : public BfAstNode
{
public:
BF_AST_TYPE(BfGenericConstraintsDeclaration, BfAstNode);
BfSizedArray<BfGenericConstraint*> mGenericConstraints;
BfSizedArray<BfAstNode*> mGenericConstraints;
bool mHasExpressions;
}; BF_AST_DECL(BfGenericConstraintsDeclaration, BfAstNode);
class BfMethodDeclaration : public BfMemberDeclaration