43 Parser(std::shared_ptr<Ex>);
44 Parser(std::shared_ptr<Ex>,
const std::string&);
unsigned char get_token(unsigned int i)
Definition: Parser.cc:146
void finalise()
Definition: Parser.cc:130
std::string str
Definition: Parser.hh:59
mode_t
Definition: Parser.hh:61
bool is_number(const std::string &str) const
Definition: Parser.cc:371
std::vector< str_node::parent_rel_t > current_parent_rel
Definition: Parser.hh:74
Parser()
Definition: Parser.cc:82
bool string2tree(const std::string &inp)
Definition: Parser.cc:154
Ex::iterator parts
Definition: Parser.hh:58
str_node::bracket_t is_opening_bracket(const unsigned char &br) const
Definition: Parser.cc:63
std::istream & operator>>(std::istream &, cadabra::Parser &)
Definition: Parser.cc:27
void remove_empty_nodes()
Definition: Parser.cc:118
str_node::bracket_t is_closing_bracket(const unsigned char &br) const
Definition: Parser.cc:53
std::shared_ptr< Ex > tree
Definition: Parser.hh:56
std::vector< mode_t > current_mode
Definition: Parser.hh:72
parent_rel_t
Child nodes are related to their parent node by a so-called parent relation, which can be one of thes...
Definition: Storage.hh:61
str_node::parent_rel_t is_link(const unsigned char &ln) const
Definition: Parser.cc:73
void erase()
Definition: Parser.cc:107
bracket_t
Definition: Storage.hh:57
void advance(unsigned int &i)
Definition: Parser.cc:140
std::vector< str_node::bracket_t > current_bracket
Definition: Parser.hh:73