xc
Public Member Functions | Protected Attributes | List of all members
ExprBase Class Reference
Inheritance diagram for ExprBase:
Inheritance graph
[legend]
Collaboration diagram for ExprBase:
Collaboration graph
[legend]

Public Member Functions

 ExprBase (const bool &ET)
 Constructor por defecto.
 
virtual bool operator== (const ExprBase &) const
 Comparison operator.
 
bool operator!= (const ExprBase &other) const
 
bool ErrorTraduccion (void) const
 Devuelve verdadero si ha habido errores en la traducción.
 
- Public Member Functions inherited from ProtoExpresion
 ProtoExpresion (void)
 Constructor.
 

Protected Attributes

bool err_traduc
 Verdadero si se produce un error en la traducción.
 

Additional Inherited Members

- Static Public Member Functions inherited from ProtoExpresion
static LexAlgebra & CreaLexico (void)
 Devuelve una referencia al léxico.
 
static Lexico & Lex (void)
 Devuelve una referencia al léxico.
 
static LexAlgebra & LexA (void)
 Devuelve una referencia al léxico.
 
static bool TieneLexico (void)
 
static NamedOperand * NuevaVar (const Variable &v)
 Creates the variable being passed as parameter.
 
static NamedOperand * NuevaVar (const std::string &palabra)
 Creates the variable which name is being passed as parameter. More...
 
static Variable * CalcDirVar (const std::string &nmb)
 Return a pointer to the variable which name is being passed as parameter. More...
 
static void Asigna (const std::string &palabra, const double &d)
 Assigns to the variable named 'palabra' the value being passed as parameter. More...
 
static void DesAsigna (const std::string &palabra)
 Removes the assignment to the variable which name is being passed as parameter. More...
 
- Static Protected Member Functions inherited from ProtoExpresion
static Segnal * CalcularDireccion (const std::string &nmb)
 Return a pointer to the signal which name is being passed as parameter. More...
 
- Static Protected Attributes inherited from ProtoExpresion
static LexAlgebra * ptr_lex = NULL
 

The documentation for this class was generated from the following files: