|
Reactions
0.1.0
Handling reaction trees and decays
|
Tokens allowed in a reaction or decay. More...


Go to the source code of this file.
Classes | |
| struct | reactions::tokens::token< C > |
| Template to define new tokens. More... | |
Namespaces | |
| reactions::tokens | |
| Syntax tokens. | |
Typedefs | |
| using | reactions::tokens::space = token<' '> |
| Defines the separation of two elements. More... | |
| using | reactions::tokens::arrow = token<'-', '>'> |
| Defines a reaction. More... | |
| using | reactions::tokens::left_bra = token<'{'> |
| Defines the begining of a reaction. More... | |
| using | reactions::tokens::right_bra = token<'}'> |
| Defines the end of a reaction. More... | |
Functions | |
| template<char... C, std::size_t... I> | |
| bool | reactions::tokens::match_token_impl (token< C... >, std::index_sequence< I... >, std::string::const_iterator const &it) |
| Check if the iterator at the current position matches the token. More... | |
| template<class Token > | |
| bool | reactions::tokens::match_token (std::string::const_iterator const &it) |
| Check if the iterator at the current position matches the token. More... | |
| template<char... C> | |
| constexpr bool | reactions::tokens::match_any (char c) |
| Check if the given character matches any of the template arguments. More... | |
| template<char C0, char C1> | |
| constexpr bool | reactions::tokens::match_range (char c) |
Tokens allowed in a reaction or decay.
1.8.13