MayaFlux
0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
combine_and()
static
MatcherFunc
MayaFlux::Yantra::UniversalMatcher::combine_and
(
std::vector<
MatcherFunc
>
matchers
)
inline
static
Combines multiple matchers with AND logic.
Parameters
matchers
Vector of matcher functions to combine
Returns
Matcher that returns true only if all matchers pass
Definition at line
86
of file
GrammarHelper.hpp
.
87
{
88
return
[matchers = std::move(matchers)](
const
std::any& input,
const
ExecutionContext& ctx) ->
bool
{
89
return
std::ranges::all_of(matchers, [&](
const
auto
& matcher) {
90
return
matcher(input, ctx);
91
});
92
};
93
}
MayaFlux
Yantra
UniversalMatcher
Generated by
1.9.8