plp.expressions1.expression.ExpLength Class Reference

Inherits plp.expressions1.expression.ExpUnaria.

Inheritance diagram for plp.expressions1.expression.ExpLength:

Inheritance graph
Collaboration diagram for plp.expressions1.expression.ExpLength:

Collaboration graph
List of all members.

Public Member Functions

 ExpLength (Expressao exp)
Valor avaliar ()
Tipo getTipo ()

Protected Member Functions

boolean checaTipoElementoTerminal ()

Detailed Description

Um objeto desta classe representa uma Expressao de tamanho de String.

Definition at line 8 of file

Constructor & Destructor Documentation

plp.expressions1.expression.ExpLength.ExpLength ( Expressao  exp  ) 

Controi uma Expressao de tamanho com a expressao especificada assume-se que exp é uma expressao cuja avaliacao resulta num ValorString

Definition at line 15 of file

References plp.expressions1.expression.ExpUnaria.exp.

Member Function Documentation

Valor plp.expressions1.expression.ExpLength.avaliar (  ) 

Retorna o valor da Expressao de tamanho.

Implements plp.expressions1.expression.Expressao.

Definition at line 22 of file

References plp.expressions1.expression.ExpUnaria.getExp().

Here is the call graph for this function:

boolean plp.expressions1.expression.ExpLength.checaTipoElementoTerminal (  )  [protected, virtual]

Realiza a verificacao de tipos desta expressao.

true se os tipos da expressao sao validos; false caso contrario.

Implements plp.expressions1.expression.ExpUnaria.

Definition at line 32 of file

References plp.expressions1.expression.ExpUnaria.getExp(), and plp.expressions1.expression.ExpLength.getTipo().

Here is the call graph for this function:

Tipo plp.expressions1.expression.ExpLength.getTipo (  ) 

Retorna os tipos possiveis desta expressao.

os tipos possiveis desta expressao.

Implements plp.expressions1.expression.Expressao.

Definition at line 41 of file

References plp.expressions1.util.Tipo.TIPO_INTEIRO.

Referenced by plp.expressions1.expression.ExpLength.checaTipoElementoTerminal().

The documentation for this class was generated from the following file:
Generated on Tue Sep 12 21:54:18 2006 for PLP by  doxygen 1.4.7