libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::Print::WalkableFrontend Concept Reference

可向指定 visitor 发射格式事件的前端 / Frontend that can emit format events into the supplied visitor More...

#include <print_contract.hpp>

Concept definition

template<typename Frontend, typename Visitor>
concept LibXR::Print::WalkableFrontend = SourceFrontend<Frontend> && requires(Visitor& visitor) {
{ Frontend::Walk(visitor) } -> std::same_as<typename Frontend::ErrorType>;
}
可由共享后端读取源码信息的格式前端 / Format frontend exposing source metadata to the shared backend
可向指定 visitor 发射格式事件的前端 / Frontend that can emit format events into the supplied visitor

Detailed Description

可向指定 visitor 发射格式事件的前端 / Frontend that can emit format events into the supplied visitor

Template Parameters
Frontend候选前端类型 / Candidate frontend type
Visitor候选 visitor 类型 / Candidate visitor type
Note
必须支持 Walk(visitor),并返回 ErrorType / Must support Walk(visitor) and return ErrorType

Definition at line 53 of file print_contract.hpp.