org.drools.semantics.python
Class ExprAnalyzer

java.lang.Object
  |
  +--org.drools.semantics.python.ExprAnalyzer

public class ExprAnalyzer
extends java.lang.Object

Analyzes python expressions for all mentioned variables.

Version:
$Id: ExprAnalyzer.java,v 1.1 2002/08/27 06:46:44 bob Exp $
Author:
bob mcwhirter

Constructor Summary
ExprAnalyzer()
          Construct.
 
Method Summary
 Declaration[] analyze(org.python.parser.ast.modType expr, Declaration[] availDecls)
          Analyze an expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprAnalyzer

public ExprAnalyzer()
Construct.
Method Detail

analyze

public Declaration[] analyze(org.python.parser.ast.modType expr,
                             Declaration[] availDecls)
                      throws java.lang.Exception
Analyze an expression.
Parameters:
expr - The expression to analyze.
availDecls - Total set of declarations available.
Returns:
The array of declarations used by the expression.
Throws:
java.lang.Exception - If an error occurs while attempting to analyze the expression.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.