diff options
Diffstat (limited to 'AST_accept.h')
-rw-r--r-- | AST_accept.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/AST_accept.h b/AST_accept.h index 38108cd7..15f6b7ee 100644 --- a/AST_accept.h +++ b/AST_accept.h @@ -112,6 +112,18 @@ void StructDefinition::accept(ASTVisitor& _visitor) _visitor.endVisit(*this); } +void EnumDefinition::accept(ASTVisitor& _visitor) +{ + _visitor.visit(*this) + _visitor.endVisit(*this); +} + +void EnumDefinition::accept(ASTConstVisitor& _visitor) const +{ + _visitor.visit(*this) + _visitor.endVisit(*this); +} + void StructDefinition::accept(ASTConstVisitor& _visitor) const { if (_visitor.visit(*this)) |