31 node(std::istream& stream);
39 node(std::string identifier);
74 void print(std::ostream& stream,
int indent = 0)
const;
94 void save(std::ostream& stream)
const;
std::shared_ptr< node_impl > pimpl_
static std::shared_ptr< node_impl > make_binary_operator(node, char, node)
Factory function to make the binary operator nodes.
std::vector< std::string > identifier_list
A sequence of identifiers (e.g., parameter names).
node & operator=(node const &)=default
void print(std::ostream &stream, int indent=0) const
std::string to_string() const
identifier_list const & get_parameters() const
std::vector< node > node_list
A sequence of nodes.
void save(std::ostream &stream) const