Lines Matching refs:function
49 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { in indent()
56 Formatter& Formatter::indent(const std::function<void(void)>& func) { in indent()
60 Formatter& Formatter::block(const std::function<void(void)>& func) { in block()
78 Formatter& Formatter::sIf(const std::string& cond, const std::function<void(void)>& block) { in sIf()
83 Formatter& Formatter::sElseIf(const std::string& cond, const std::function<void(void)>& block) { in sElseIf()
88 Formatter& Formatter::sElse(const std::function<void(void)>& block) { in sElse()
93 Formatter& Formatter::sFor(const std::string& stmts, const std::function<void(void)>& block) { in sFor()
98 Formatter& Formatter::sTry(const std::function<void(void)>& block) { in sTry()
103 Formatter& Formatter::sCatch(const std::string& exception, const std::function<void(void)>& block) { in sCatch()
108 Formatter& Formatter::sFinally(const std::function<void(void)>& block) { in sFinally()
113 Formatter& Formatter::sWhile(const std::string& cond, const std::function<void(void)>& block) { in sWhile()