mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
vhdlpp: Added ExpDelay::visit() method.
This commit is contained in:
@@ -894,3 +894,11 @@ ExpDelay::~ExpDelay()
|
||||
delete expr_;
|
||||
delete delay_;
|
||||
}
|
||||
|
||||
void ExpDelay::visit(ExprVisitor& func)
|
||||
{
|
||||
expr_->visit(func);
|
||||
delay_->visit(func);
|
||||
|
||||
func(this);
|
||||
}
|
||||
|
||||
@@ -992,6 +992,7 @@ public:
|
||||
void write_to_stream(std::ostream&) const;
|
||||
int emit(ostream&out, Entity*ent, ScopeBase*scope) const;
|
||||
void dump(ostream&out, int indent = 0) const;
|
||||
void visit(ExprVisitor& func);
|
||||
|
||||
const Expression*peek_expr() const { return expr_; }
|
||||
const Expression*peek_delay() const { return delay_; }
|
||||
|
||||
Reference in New Issue
Block a user