EMath++
Classes for mathematical concepts
Loading...
Searching...
No Matches
emthp Namespace Reference

Englobes all the classes and functions of the parser. More...

Classes

class  Lexer
 Class that works as a token supplier for the Parser class. More...
 
class  Parser
 Class that wraps a std::string and parses it as a Monomial or as a Polynomial. More...
 
struct  Token
 Struct for representing a token as a type and a value. More...
 

Enumerations

enum  TokenType {
  T_PLUS , T_MINUS , T_NUMBER , T_VARIABLE ,
  T_EXPONENT , T_EOF
}
 Enum with all the possible Token types. More...
 

Detailed Description

Englobes all the classes and functions of the parser.

The emthp namespace contains two classes: Parser and Lexer. It also contains the TokenType enum and a Token struct.

Enumeration Type Documentation

◆ TokenType

Enum with all the possible Token types.

Enumerator
T_PLUS 

Plus sign type.

T_MINUS 

Minus sign type.

T_NUMBER 

Number type.

T_VARIABLE 

X type.

T_EXPONENT 

Exponent sign type.

T_EOF 

EOF type.

Definition at line 24 of file eparser.h.