xo-reader: streamline: drop redundant admits_xxx() methods

This commit is contained in:
Roland Conybeare 2024-08-10 23:57:01 -05:00
commit e9e0d5255f
8 changed files with 29 additions and 44 deletions

View file

@ -75,11 +75,9 @@ namespace xo {
/** true iff this parsing state admits a symbol as next token **/
virtual bool admits_symbol() const;
#ifdef OBSOLETE
/** true iff this parsing state admits a semicolon as next token **/
virtual bool admits_semicolon() const;
#endif
/** true iff this parsing state admits a singleassign '=' as next token **/
virtual bool admits_singleassign() const;
#endif
/** update exprstate in response to incoming token @p tk,
* forward instructions to parent parser