Ignore:
Timestamp:
Jun 10, 2019, 5:20:07 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
5485e10
Parents:
6949c45
Message:

Add new resolver overload for WaitForStmt?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.hpp

    r6949c45 r2773ab8  
    3636        /// Fill candidates with feasible resolutions for `expr`
    3737        void find( const ast::Expr * expr, ResolvMode mode = {} );
     38
     39        /// Runs new candidate finder on each element in xs, returning the list of finders
     40        std::vector< CandidateFinder > findSubExprs( const std::vector< ast::ptr< ast::Expr > > & xs );
     41
     42        using value_type = CandidateList::value_type;
     43        using iterator = CandidateList::iterator;
     44        using const_iterator = CandidateList::const_iterator;
     45
     46        iterator begin() { return candidates.begin(); }
     47        const_iterator begin() const { return candidates.begin(); }
     48       
     49        iterator end() { return candidates.end(); }
     50        const_iterator end() const { return candidates.end(); }
    3851};
    3952
Note: See TracChangeset for help on using the changeset viewer.