33 std::unique_ptr<NODE> root;
36 root = parse_tree::parse<MARKUP::grammar, MARKUP::NODE, MARKUP::selector>( *
mem_in );
38 root = parse_tree::parse<MARKUP::grammar, MARKUP::NODE, MARKUP::selector>( *
in );
42 catch ( tao::pegtl::parse_error& )
55 if( is_type<MARKUP::subscript>() ) os <<
"SUBSCRIPT";
56 else if( is_type<MARKUP::superscript>() ) os <<
"SUPERSCRIPT";
57 else if( is_type<MARKUP::overbar>() ) os <<
"OVERBAR";
58 else if( is_type<MARKUP::anyString>() ) os <<
"ANYSTRING";
59 else if( is_type<MARKUP::anyStringWithinBraces>() ) os <<
"ANYSTRINGWITHINBRACES";