Package jp.ac.kobe_u.cs.prolog.lang

Examples of jp.ac.kobe_u.cs.prolog.lang.Term.toJava()


    } else { // a1 = nonvar /\ a2 = var
      // (a1 = java \/ a1 = str \/ a1 = clo) /\ a2 = var
      if (a1.isJavaObject() || a1.isStructure() || a1.isClosure()) {
        ((VariableTerm) a2).bind(a1, engine.trail);
      } else { // a1 != java /\ a1 != str /\ a1 != clo /\ a2 = var
        ((VariableTerm) a2).bind(new JavaObjectTerm(a1.toJava()),
            engine.trail);
      }
    }
    return cont;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.