|
Milo
0.1
Milo:EquationManipulationProgram
|

Public Member Functions | |
| Parser (const string &expr, Equation &eqn) | |
| char | peek () |
| char | next () |
| bool | match (const string &s) |
| Equation & | getEqn () |
Private Attributes | |
| string | m_expr |
| String to be parsed. | |
| Equation & | m_eqn |
| Equation containing node tree. | |
| size_t | m_pos |
| Pointer to next character to be parsed. | |
Parse string as an equation. This class expects a string that contains the same string representation that is generated by the Node class in infix notation.
|
inline |
|
inline |
| bool Parser::match | ( | const string & | s | ) |
Match string in parser stream at current pointer.
| char Parser::next | ( | ) |
Get next character in string and advance pointer.
|
inline |
Get the next character to be parsed without advancing.
1.8.11