Piethon
1.0
A Python-like interpreter using flex and bison.
|
#include <expression.h>
Public Member Functions | |
~BinaryExpression () | |
virtual Number | eval (const SymbolTable &, const FunctionTable &) const =0 |
Public Member Functions inherited from Expression | |
virtual | ~Expression () |
Protected Member Functions | |
BinaryExpression (Expression *e1, Expression *e2) | |
Protected Member Functions inherited from Expression | |
Expression () | |
Protected Attributes | |
Expression * | op1 |
Expression * | op2 |
Definition at line 74 of file expression.h.
BinaryExpression::~BinaryExpression | ( | ) |
Definition at line 30 of file expression.cpp.
|
inlineprotected |
Definition at line 81 of file expression.h.
|
pure virtual |
Implements Expression.
Implemented in NotEquals, Equals, GreaterThanOrEqualTo, LessThanOrEqualTo, GreaterThan, LessThan, Exponent, Modulus, Division, Multiplication, Subtraction, and Addition.
|
protected |
Definition at line 82 of file expression.h.
|
protected |
Definition at line 83 of file expression.h.