EMath++
Classes for mathematical concepts
|
This is the main header file for the equation parser. More...
Go to the source code of this file.
Classes | |
struct | emthp::Token |
Struct for representing a token as a type and a value. More... | |
class | emthp::Lexer |
Class that works as a token supplier for the Parser class. More... | |
class | emthp::Parser |
Class that wraps a std::string and parses it as a Monomial or as a Polynomial. More... | |
Namespaces | |
namespace | emthp |
Englobes all the classes and functions of the parser. | |
Enumerations | |
enum | emthp::TokenType { emthp::T_PLUS , emthp::T_MINUS , emthp::T_NUMBER , emthp::T_VARIABLE , emthp::T_EXPONENT , emthp::T_EOF } |
Enum with all the possible Token types. More... | |
This is the main header file for the equation parser.
This file contains the classes and functions for parsing polynomials and monomials.
It consists of two classes, the Parser class and the Lexer class.
The Parser class consists of two functions, one for parsing the entire input as a Polynomial and another for parsing a Monomial at a time.
The Lexer class just provides a token supplier for the Parser class.
Definition in file eparser.h.