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

JavaExprAnalyzer (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


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.

Author:
bob mcwhirter

Constructor Summary
JavaExprAnalyzer()
          Construct.
 
Method Summary
 List[] analyzeBlock(String expr, Set[] availableIdentifiers)
           
 List[] analyzeExpression(String expr, 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 List[] analyzeExpression(String expr,
                                Set[] 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 List[] analyzeBlock(String expr,
                           Set[] availableIdentifiers)
                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException


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