jeops.engine
Class RuleLocalDeclaration

java.lang.Object
  |
  +--jeops.engine.RuleLocalDeclaration

public class RuleLocalDeclaration
extends java.lang.Object

This class models a local variable declaration of a rule.

Version:
0.02 29 Jun 1999 First version with comments in English.
Author:
Carlos Figueira Filho (csff@di.ufpe.br)

Constructor Summary
RuleLocalDeclaration(java.lang.String className, java.lang.String ident, JavaExpr expression)
          Class constructor.
 
Method Summary
 void dump(int espacos)
          Prints a tree representation of this base.
 java.lang.String getClassName()
          Returns the class name of this variable.
 JavaExpr getExpression()
          Returns the expression that defines the locally declared variable.
 java.lang.String getIdent()
          Returns this variable identifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleLocalDeclaration

public RuleLocalDeclaration(java.lang.String className,
                            java.lang.String ident,
                            JavaExpr expression)
Class constructor.
Parameters:
className - the name of the class of the variable
ident - the identifier of the variable
expression - the expression that defines the variable
Method Detail

dump

public void dump(int espacos)
Prints a tree representation of this base. Useful for debugging.
Parameters:
spaces - the identation of the information to be printed.

getClassName

public java.lang.String getClassName()
Returns the class name of this variable.
Returns:
the class name of this variable.

getExpression

public JavaExpr getExpression()
Returns the expression that defines the locally declared variable.
Returns:
the expression that defines the locally declared variable.

getIdent

public java.lang.String getIdent()
Returns this variable identifier.
Returns:
this variable identifier.