当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
JavaExprAnalyzer - JBoss RULES 3.0.6 API 英文版文档
org.drools.semantics.java
Class JavaExprAnalyzer
java.lang.Object
org.drools.semantics.java.JavaExprAnalyzer
public class JavaExprAnalyzer
- extends java.lang.Object
Expression analyzer.
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 |
JavaExprAnalyzer
public JavaExprAnalyzer()
- Construct.
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