org.drools.semantics.groovy
Class GroovyExprAnalyzer

java.lang.Object
  extended by org.drools.semantics.groovy.GroovyExprAnalyzer

public class GroovyExprAnalyzer
extends Object

Analyzes python expressions for all mentioned variables.

Version:
$Id: GroovyExprAnalyzer.java,v 1.2 2005/02/04 02:13:38 mproctor Exp $
Author:
bob mcwhirter , Christiaan ten Klooster

Constructor Summary
GroovyExprAnalyzer()
           
 
Method Summary
 Declaration[] analyze(String text, List availDecls)
          Analyze an expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyExprAnalyzer

public GroovyExprAnalyzer()
Method Detail

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-2005 The Codehaus. All Rights Reserved.