es.uned.compiler.intermediate
Interface CuadrupleIF

All Known Implementing Classes:
Cuadruple

public interface CuadrupleIF

Interfaz que ha de implementar la clase Cuadruple. Representa un cuarteto del código intermedio


Method Summary
 OperandIF getFirstOperand()
          Returns the firstOperand.
 java.lang.String getOperation()
          Returns the operation.
 OperandIF getResult()
          Returns the result.
 OperandIF getSecondOperand()
          Returns the secondOperand.
 void setFirstOperand(OperandIF firstOperand)
          Sets The firstOperand.
 void setOperation(java.lang.String operation)
          Sets The operation.
 void setResult(OperandIF result)
          Sets The result.
 void setSecondOperand(OperandIF secondOperand)
          Sets The secondOperand.
 

Method Detail

getFirstOperand

OperandIF getFirstOperand()
Returns the firstOperand.

Returns:
Returns the firstOperand.

getOperation

java.lang.String getOperation()
Returns the operation.

Returns:
Returns the operation.

getResult

OperandIF getResult()
Returns the result.

Returns:
Returns the result.

getSecondOperand

OperandIF getSecondOperand()
Returns the secondOperand.

Returns:
Returns the secondOperand.

setFirstOperand

void setFirstOperand(OperandIF firstOperand)
Sets The firstOperand.

Parameters:
firstOperand - The firstOperand to set.

setOperation

void setOperation(java.lang.String operation)
Sets The operation.

Parameters:
operation - The operation to set.

setResult

void setResult(OperandIF result)
Sets The result.

Parameters:
result - The result to set.

setSecondOperand

void setSecondOperand(OperandIF secondOperand)
Sets The secondOperand.

Parameters:
secondOperand - The secondOperand to set.