org.drools.semantics.python
Class ExprAnalyzer
java.lang.Object
org.drools.semantics.python.ExprAnalyzer
- public class ExprAnalyzer
- extends Object
Analyzes python expressions for all mentioned variables.
- Author:
- bob mcwhirter
Method Summary |
Declaration[] |
analyze(org.python.parser.ast.modType expr,
List availDecls)
Analyze an expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprAnalyzer
public ExprAnalyzer()
- Construct.
analyze
public Declaration[] analyze(org.python.parser.ast.modType expr,
List availDecls)
throws 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:
Exception
- If an error occurs while attempting to analyze the
expression.
Copyright © 2001-2004 The Codehaus. All Rights Reserved.