MCPcopy Create free account
hub / github.com/comaps/comaps / Move

Method Move

libs/indexer/string_set.hpp:57–63  ·  view source on GitHub ↗

Tries to move from the current node by |c|. If the move can't be made, returns nullptr.

Source from the content-addressed store, hash-verified

55 // Tries to move from the current node by |c|. If the move can't
56 // be made, returns nullptr.
57 Node const * Move(TChar c) const
58 {
59 for (auto const & p : m_moves)
60 if (p.first == c)
61 return p.second.get();
62 return nullptr;
63 }
64
65 // Tries to move from the current node by [|begin|, |end|). If the
66 // move can't be made, returns nullptr.

Callers 2

MatchWithMisprintsMethod · 0.45
HasMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected