xo-reader2: + op> support

This commit is contained in:
Roland Conybeare 2026-03-13 00:15:29 -05:00
commit 4c9771126b
3 changed files with 27 additions and 154 deletions

View file

@ -108,6 +108,8 @@ namespace xo {
obj<AGCObject> cmplt_pm() const;
/** polymorphic less-or-equal comparison. Use to implement infix op<= **/
obj<AGCObject> cmple_pm() const;
/** polymorphic greater comparison. Use to implement infix op> **/
obj<AGCObject> cmpgt_pm() const;
/** polymorphic greater-or-equal comparison. Use to implement infix op>= **/
obj<AGCObject> cmpge_pm() const;
@ -423,6 +425,7 @@ namespace xo {
Binding cmpne_binding_;
Binding cmplt_binding_;
Binding cmple_binding_;
Binding cmpgt_binding_;
Binding cmpge_binding_;
/** current output from parser **/