xo-reader: feat: parse infix exprs for +,-,*,/ operators
This commit is contained in:
parent
f677995f77
commit
29596a7c1d
5 changed files with 141 additions and 8 deletions
|
|
@ -121,6 +121,10 @@ namespace xo {
|
|||
virtual void on_rightparen_token(const token_type & tk,
|
||||
exprstatestack * p_stack,
|
||||
rp<Expression> * p_emit_expr);
|
||||
/** handle incoming operator token **/
|
||||
virtual void on_operator_token(const token_type & tk,
|
||||
exprstatestack * p_stack,
|
||||
rp<Expression> * p_emit_expr);
|
||||
/** handle incoming floating-point-literal token **/
|
||||
virtual void on_f64_token(const token_type & tk,
|
||||
exprstatestack * p_stack,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue