Template Struct parser

Struct Documentation

template<typename ScopeT, typename ContextT>
struct udho::view::parser

Public Types

typedef ScopeT table_type
typedef parsing::expression<table_type> evaluator_type
typedef parsing::xml<ContextT> xml_parser_type
typedef parsing::tags::block<table_type, ContextT> block_directive_type
typedef parsing::tags::var<table_type, ContextT> var_directive_type
typedef parsing::tags::loop<table_type, ContextT> loop_directive_type
typedef parsing::tags::condition<table_type, ContextT> condition_directive_type
typedef parsing::tags::text<table_type, ContextT> text_directive_type
typedef parsing::tags::html<table_type, ContextT> html_directive_type
typedef parsing::tags::eval<table_type, ContextT> eval_directive_type
typedef parsing::tags::skip<table_type, ContextT> skip_directive_type
typedef parsing::attrs::target<table_type, ContextT> target_directive_type
typedef parsing::attrs::eval<table_type, ContextT> eval_attr_directive_type
typedef parsing::attrs::add_class<table_type, ContextT> add_class_directive_type
typedef parsing::attrs::condition<table_type, ContextT> condition_attr_directive_type

Public Functions

parser(table_type &scope, const ContextT &ctx)
void prepare()
std::string process(const std::string &contents)