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)
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 |
RuleLocalDeclaration
public RuleLocalDeclaration(java.lang.String className,
java.lang.String ident,
JavaExpr expression)
- Class constructor.
- Parameters:
className
- the name of the class of the variableident
- the identifier of the variableexpression
- the expression that defines the variable
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.