CPP-TOOLBOX
Loading...
Searching...
No Matches
cpp_parsing::NestedStringPairParser Class Reference

#include <cpp_parsing.hpp>

Inheritance diagram for cpp_parsing::NestedStringPairParser:
cpp_parsing::CharParser

Public Member Functions

 NestedStringPairParser (CharParserPtr inner_parser, const std::string &name="nested_string", std::string left_str="{", std::string right_str="}")
 
ParseResult parse (const std::string &input, size_t start) const override
 
- Public Member Functions inherited from cpp_parsing::CharParser
 CharParser (std::string name="")
 
virtual ~CharParser ()=default
 

Public Attributes

std::string left_str
 
std::string right_str
 
- Public Attributes inherited from cpp_parsing::CharParser
std::string name
 

Constructor & Destructor Documentation

◆ NestedStringPairParser()

cpp_parsing::NestedStringPairParser::NestedStringPairParser ( CharParserPtr inner_parser,
const std::string & name = "nested_string",
std::string left_str = "{",
std::string right_str = "}" )
inline

Member Function Documentation

◆ parse()

ParseResult cpp_parsing::NestedStringPairParser::parse ( const std::string & input,
size_t start ) const
inlineoverridevirtual

Member Data Documentation

◆ left_str

std::string cpp_parsing::NestedStringPairParser::left_str

◆ right_str

std::string cpp_parsing::NestedStringPairParser::right_str

The documentation for this class was generated from the following file: