站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

JavaExprAnalyzer - JBoss RULES 3.0.6 API 英文版文档


org.drools.semantics.java
Class JavaExprAnalyzer

java.lang.Object
  extended by org.drools.semantics.java.JavaExprAnalyzer

public class JavaExprAnalyzer
extends java.lang.Object

Expression analyzer.


Constructor Summary
JavaExprAnalyzer()
          Construct.
 
Method Summary
 java.util.List[] analyzeBlock(java.lang.String expr, java.util.Set[] availableIdentifiers)
           
 java.util.List[] analyzeExpression(java.lang.String expr, java.util.Set[] 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 java.util.List[] analyzeExpression(java.lang.String expr,
                                          java.util.Set[] availableIdentifiers)
                                   throws 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:
RecognitionException - If an error occurs in the parser.

analyzeBlock

public java.util.List[] analyzeBlock(java.lang.String expr,
                                     java.util.Set[] availableIdentifiers)
                              throws RecognitionException
Throws:
RecognitionException