xo-reader: refactor: simplify progress_xs api
This commit is contained in:
parent
5916ac874f
commit
6d73caf308
4 changed files with 23 additions and 6 deletions
|
|
@ -47,8 +47,11 @@ namespace xo {
|
|||
return dynamic_cast<const progress_xs *>(x);
|
||||
}
|
||||
|
||||
static std::unique_ptr<progress_xs> make(rp<Expression> valex,
|
||||
optype optype = optype::invalid);
|
||||
static void start(rp<Expression> valex,
|
||||
optype optype,
|
||||
exprstatestack * p_stack);
|
||||
static void start(rp<Expression> valex,
|
||||
exprstatestack * p_stack);
|
||||
|
||||
bool admits_f64() const;
|
||||
|
||||
|
|
@ -89,6 +92,10 @@ namespace xo {
|
|||
|
||||
virtual void print(std::ostream & os) const override;
|
||||
|
||||
private:
|
||||
static std::unique_ptr<progress_xs> make(rp<Expression> valex,
|
||||
optype optype = optype::invalid);
|
||||
|
||||
private:
|
||||
/** assemble expression representing
|
||||
* value of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue