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:
parent
dead14fac6
commit
6e38c1c3b6
3 changed files with 81 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue