org.drools.rule.builder.dialect.java
Class JavaExprAnalyzer

java.lang.Object
  extended by org.drools.rule.builder.dialect.java.JavaExprAnalyzer

public class JavaExprAnalyzer
extends Object

Expression analyzer.


Constructor Summary
JavaExprAnalyzer()
          Construct.
 
Method Summary
 JavaAnalysisResult analyzeBlock(String expr, BoundIdentifiers availableIdentifiers)
           
 JavaAnalysisResult analyzeExpression(String expr, BoundIdentifiers availableIdentifiers)
          Analyze an expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaExprAnalyzer

public JavaExprAnalyzer()
Construct.

Method Detail

analyzeExpression

public JavaAnalysisResult analyzeExpression(String expr,
                                            BoundIdentifiers availableIdentifiers)
                                     throws org.antlr.runtime.RecognitionException
Analyze an expression.

Parameters:
expr - The expression to analyze.
availDecls - Total set of declarations available.
Returns:
The Set of declarations used by the expression.
Throws:
org.antlr.runtime.RecognitionException - If an error occurs in the parser.

analyzeBlock

public JavaAnalysisResult analyzeBlock(String expr,
                                       BoundIdentifiers availableIdentifiers)
                                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.