コード例 #1
0
 /**
  * @param logicMethod knows how to configure this object given a parsedData object
  * @param targetObject the object that receives the logic method invocation
  * @param originalMethodArguments the arguments of the logic method
  * @param parsedData contains the parsed method data
  */
 public ParsedLogicMethod(
     LogicRoutine logicMethod,
     Object targetObject,
     List originalMethodArguments,
     LogicMethodParsingData parsedData) {
   this.logicMethod = logicMethod;
   this.targetObject = targetObject;
   this.originalMethodArguments = originalMethodArguments;
   this.parsedData = parsedData;
   logicMethod.configureParsedLogicMethod(this);
 }
コード例 #2
0
 public AbstractTerm getEachSolutionTerm() {
   return logicMethod.getEachSolutionTerm(this);
 }
コード例 #3
0
 public Term asGoal() {
   return logicMethod.asGoal(this);
 }