41 Parser(std::shared_ptr<Ex>);
42 Parser(std::shared_ptr<Ex>,
const std::string&);
std::istream & operator>>(std::istream &, cadabra::Parser &)
Definition: Parser.cc:32
Class which turns the string output of a preprocessor object and turns it into an Ex expression tree.
Definition: Parser.hh:38
Parser()
Definition: Parser.cc:92
void advance(unsigned int &i)
Definition: Parser.cc:150
char32_t get_token(unsigned int i)
Definition: Parser.cc:156
std::shared_ptr< Ex > tree
Definition: Parser.hh:54
void remove_empty_nodes()
Definition: Parser.cc:128
bool is_number(const std::u32string &str) const
Definition: Parser.cc:449
void erase()
Definition: Parser.cc:117
std::vector< str_node::bracket_t > current_bracket
Definition: Parser.hh:72
std::u32string str
Definition: Parser.hh:57
Ex::iterator parts
Definition: Parser.hh:56
void finalise()
Finalise the parsed expression.
Definition: Parser.cc:140
std::vector< mode_t > current_mode
Definition: Parser.hh:71
bool string2tree(const std::string &inp)
Definition: Parser.cc:164
str_node::bracket_t is_closing_bracket(const char32_t &br) const
Definition: Parser.cc:63
std::vector< str_node::parent_rel_t > current_parent_rel
Definition: Parser.hh:73
str_node::parent_rel_t is_link(const char32_t &ln) const
Definition: Parser.cc:83
str_node::bracket_t is_opening_bracket(const char32_t &br) const
Definition: Parser.cc:73
mode_t
Definition: Parser.hh:59
@ m_initialgroup
Definition: Parser.hh:61
@ m_property
Definition: Parser.hh:61
@ m_name
Definition: Parser.hh:59
@ m_verbatim
Definition: Parser.hh:61
@ m_childgroup
Definition: Parser.hh:61
@ m_findchildren
Definition: Parser.hh:59
@ m_backslashname
Definition: Parser.hh:60
@ m_skipwhite
Definition: Parser.hh:59
@ m_singlecharname
Definition: Parser.hh:60
bracket_t
Definition: Storage.hh:58
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:62
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83