vhdlpp: Added ExpDelay::visit() method.
This commit is contained in:
parent
f802c782b8
commit
1647e192e5
|
|
@ -894,3 +894,11 @@ ExpDelay::~ExpDelay()
|
||||||
delete expr_;
|
delete expr_;
|
||||||
delete delay_;
|
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;
|
void write_to_stream(std::ostream&) const;
|
||||||
int emit(ostream&out, Entity*ent, ScopeBase*scope) const;
|
int emit(ostream&out, Entity*ent, ScopeBase*scope) const;
|
||||||
void dump(ostream&out, int indent = 0) const;
|
void dump(ostream&out, int indent = 0) const;
|
||||||
|
void visit(ExprVisitor& func);
|
||||||
|
|
||||||
const Expression*peek_expr() const { return expr_; }
|
const Expression*peek_expr() const { return expr_; }
|
||||||
const Expression*peek_delay() const { return delay_; }
|
const Expression*peek_delay() const { return delay_; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue