19 #ifndef GUARD_PATHANALYSIS_H
20 #define GUARD_PATHANALYSIS_H
69 static std::pair<bool, bool>
checkCond(
const Token * tok,
bool& known);
Library definitions handling.
The token list that the TokenList generates is a linked-list of this class.
std::list< ErrorPathItem > ErrorPath
bool reaches(const Token *start, const Token *dest, const Library &library, ErrorPath *errorPath)
Returns true if there is a path between the two tokens.
static Progress forwardRecursive(const Token *tok, Info info, const std::function< PathAnalysis::Progress(const Info &)> &f)
Progress forwardRange(const Token *startToken, const Token *endToken, Info info, const std::function< Progress(const Info &)> &f) const
Info forwardFind(std::function< bool(const Info &)> pred) const
PathAnalysis(const Token *start, const Library &library)
static const Scope * findOuterScope(const Scope *scope)
static std::pair< bool, bool > checkCond(const Token *tok, bool &known)
void forward(const std::function< Progress(const Info &)> &f) const