Template Class ExpressionGroup

Class Documentation

template<typename T = ExportExpr>
class ExpressionGroup

Groups multiple expressions together that are supposed to be exported as a single (named) group (e.g. in a function).

Public Types

using iterator = container_type::iterator
using const_iterator = container_type::const_iterator

Public Functions

inline explicit ExpressionGroup(std::optional<std::string> name = {})
inline explicit ExpressionGroup(ExportNode<T> expression)
inline ExpressionGroup(ExportNode<T> expression, std::optional<std::string> name)
inline explicit ExpressionGroup(container_type expressions)
inline ExpressionGroup(container_type expressions, std::optional<std::string> name)
template<typename Range>
inline explicit ExpressionGroup(const Range &rng, std::optional<std::string> name = {})
inline bool is_named() const
inline const std::string &name() const
inline iterator begin()
inline iterator end()
inline const_iterator begin() const
inline const_iterator end() const
inline const_iterator cbegin() const
inline const_iterator cend() const
inline std::size_t size() const
inline void add(ExportNode<T> expr)