mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added constraints for operators, 'external' constraints for methods
This commit is contained in:
parent
00a92dd0a7
commit
8945a906f7
24 changed files with 1561 additions and 509 deletions
|
@ -746,12 +746,14 @@ void BfPrinter::Visit(BfGenericConstraintsDeclaration* genericConstraints)
|
|||
{
|
||||
Visit(genericConstraints->ToBase());
|
||||
|
||||
for (auto genericConstraint : genericConstraints->mGenericConstraints)
|
||||
for (auto genericConstraintNode : genericConstraints->mGenericConstraints)
|
||||
{
|
||||
auto genericConstraint = BfNodeDynCast<BfGenericConstraint>(genericConstraintNode);
|
||||
|
||||
ExpectSpace();
|
||||
VisitChild(genericConstraint->mWhereToken);
|
||||
ExpectSpace();
|
||||
VisitChild(genericConstraint->mGenericParamName);
|
||||
VisitChild(genericConstraint->mTypeRef);
|
||||
ExpectSpace();
|
||||
VisitChild(genericConstraint->mColonToken);
|
||||
ExpectSpace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue