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

Public Member Functions

 ProtoExpresion (void)
 Constructor.
 

Static Public Member Functions

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

static Segnal * CalcularDireccion (const std::string &nmb)
 Return a pointer to the signal which name is being passed as parameter. More...
 

Static Protected Attributes

static LexAlgebra * ptr_lex = NULL
 

Member Function Documentation

◆ Asigna()

void ProtoExpresion::Asigna ( const std::string &  palabra,
const double &  d 
)
static

Assigns to the variable named 'palabra' the value being passed as parameter.

◆ CalcDirVar()

Variable * ProtoExpresion::CalcDirVar ( const std::string &  nmb)
static

Return a pointer to the variable which name is being passed as parameter.

◆ CalcularDireccion()

Segnal * ProtoExpresion::CalcularDireccion ( const std::string &  nmb)
staticprotected

Return a pointer to the signal which name is being passed as parameter.

◆ DesAsigna()

void ProtoExpresion::DesAsigna ( const std::string &  palabra)
static

Removes the assignment to the variable which name is being passed as parameter.

◆ NuevaVar()

NamedOperand * ProtoExpresion::NuevaVar ( const std::string &  palabra)
static

Creates the variable which name is being passed as parameter.


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