The best match so far: earliest start, then smallest branch id.
More...
|
| void | consider (std::int64_t end_pos, std::int32_t pattern_id, std::int32_t pattern_len) |
| | Keeps the match ending at end_pos if it beats the one held.
|
| |
|
|
std::int64_t | start {-1} |
| | Its start, or -1 before any.
|
| |
|
std::int32_t | id {-1} |
| | Its branch.
|
| |
|
std::int32_t | len {0} |
| | Its length.
|
| |
The best match so far: earliest start, then smallest branch id.
◆ consider()
| void real::detail::ac_automaton::best_so_far::consider |
( |
std::int64_t |
end_pos, |
|
|
std::int32_t |
pattern_id, |
|
|
std::int32_t |
pattern_len |
|
) |
| |
|
inline |
Keeps the match ending at end_pos if it beats the one held.
- Parameters
-
| [in] | end_pos | Its last byte's position. |
| [in] | pattern_id | Its branch. |
| [in] | pattern_len | Its length. |
The documentation for this struct was generated from the following file: