![]() |
XTL
0.1
eXtended Template Library
|
Represents a parse algorithm where where the terminal or rule is repeated one or more times in the input stream The specified item must parse successfully at least once to satisfy the parse rule. More...
Inheritance diagram for xtd::parse::one_or_more_< _Ty >:
Collaboration diagram for xtd::parse::one_or_more_< _Ty >:Public Types | |
| using | _super_t = rule< one_or_more_< _Ty >> |
Public Types inherited from xtd::parse::rule< one_or_more_< _Ty > > | |
| using | decl_type = one_or_more_< _Ty > |
| using | impl_type = one_or_more_< _Ty > |
| using | rule_type = rule< one_or_more_< _Ty >, one_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> | |
| one_or_more_ (_ChildRuleTs &&...oChildRules) | |
Public Member Functions inherited from xtd::parse::rule< one_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 where the terminal or rule is repeated one or more times in the input stream The specified item must parse successfully at least once to satisfy the parse rule.
Consecutive occurrences are attempted and permitted if present.
| _Ty | The rule or terminal to parse |