org.drools.semantics.groovy
Class ExprAnalyzer
java.lang.Object
org.drools.semantics.groovy.ExprAnalyzer
- public class ExprAnalyzer
- extends Object
Analyzes python expressions for all mentioned variables.
- Version:
- $Id: ExprAnalyzer.java,v 1.6 2004/11/28 02:22:18 simon Exp $
- Author:
- bob mcwhirter , Christiaan ten Klooster
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprAnalyzer
public ExprAnalyzer()
analyze
public Declaration[] analyze(String text,
List availDecls)
throws Exception
- Analyze an expression.
- Parameters:
text
- 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.