![]() |
XTL
0.1
eXtended Template Library
|
Represents a parse algorithm where the terminal or rule repeats zero or more times in the input stream Always successfully parses whether or not the element parses. More...
Inheritance diagram for xtd::parse::zero_or_more_< _Ty >:
Collaboration diagram for xtd::parse::zero_or_more_< _Ty >:Public Types | |
| using | _super_t = rule< zero_or_more_< _Ty >> |
Public Types inherited from xtd::parse::rule< zero_or_more_< _Ty > > | |
| using | decl_type = zero_or_more_< _Ty > |
| using | impl_type = zero_or_more_< _Ty > |
| using | rule_type = rule< zero_or_more_< _Ty >, zero_or_more_< _Ty > > |
Public Types inherited from xtd::parse::rule_base | |
| using | pointer_type = std::shared_ptr< rule_base > |
| using | vector_type = std::vector< pointer_type > |
Public Member Functions | |
| template<typename... _ChildRuleTs> | |
| zero_or_more_ (_ChildRuleTs &&...oChildRules) | |
Public Member Functions inherited from xtd::parse::rule< zero_or_more_< _Ty > > | |
| rule (_ChildRuleTs &&...oChildRules) | |
| virtual bool | isa (const std::type_info &oType) const override |
| Determines if the interface is implemented by a concrete type. More... | |
| virtual const std::type_info & | type () const override |
| Gets the type info of the concrete implementation. | |
Public Member Functions inherited from xtd::parse::rule_base | |
| template<typename... _ChildRuleTs> | |
| rule_base (_ChildRuleTs &&...oChildRules) | |
| Constructor. More... | |
| const vector_type & | items () const |
| Accessor for child parse elements. More... | |
Additional Inherited Members | |
Protected Attributes inherited from xtd::parse::rule_base | |
| vector_type | _Items |
Represents a parse algorithm where the terminal or rule repeats zero or more times in the input stream Always successfully parses whether or not the element parses.
Data in the input stream is consumed if present.
| _Ty | the rule or terminal to parse |