inline_code_action(std::ostream& out,
                    std::string const& source_mode,
                    symbols<std::string> const& macro)
 : out(out)
 , source_mode(source_mode)
 , cpp_p(out, macro, do_macro_action(out))
 , python_p(out, macro, do_macro_action(out))
 {}
示例#2
0
 syntax_highlight(
     collector& temp
   , std::string const& source_mode
   , string_symbols const& macro
   , actions& escape_actions)
 : temp(temp)
 , source_mode(source_mode)
 , cpp_p(temp, macro, do_macro_action(temp), escape_actions)
 , python_p(temp, macro, do_macro_action(temp), escape_actions)
 , teletype_p(temp, macro, do_macro_action(temp), escape_actions)
 {
 }
示例#3
0
 inline_code_action(
     collector& out
   , collector& temp
   , std::string const& source_mode
   , string_symbols const& macro
   , actions& escape_actions)
 : out(out)
 , source_mode(source_mode)
 , temp(temp)
 , cpp_p(temp, macro, do_macro_action(temp), escape_actions)
 , python_p(temp, macro, do_macro_action(temp), escape_actions)
 {}