Package org.openquark.cal.internal.runtime.lecc

Examples of org.openquark.cal.internal.runtime.lecc.RTValue.evaluate()


    // Arguments
    RTValue pair = $rootNode.getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return f1S(RTValue.lastRef(pair.evaluate($ec), pair = null), $ec);
  }

  /**
   * f1L
   * This method implements the function logic of the CAL function Cal.Core.Prelude.fst
View Full Code Here


    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f1S(
        ((BigDecimal)(java.lang.Object)
          $x0$L.evaluate($ec).getOpaqueValue()),
        $ec);
  }

  /**
   * f1L
 
View Full Code Here

          new RTPartialApp._3._2(
            Merge_Vertices_Internal__update_Vertex1_Fn__16.$instance,
            vertex2Num,
            letVar_filteredEdges),
          vertex1Num.evaluate($ec).getOrdinalValue(),
          letVar_filteredEdges.evaluate($ec),
          $ec).evaluate(
          $ec),
        $ec).evaluate(
        $ec);
  }
View Full Code Here

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f2S(
        ((Iterator)(java.lang.Object)
          iterator$L.evaluate($ec).getOpaqueValue()),
        RTValue.lastRef(
          elementMappingFunction,
          elementMappingFunction = null),
        $ec);
  }
View Full Code Here

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f2S(
        RTValue.lastRef(
          vertexNumPerm.evaluate($ec),
          vertexNumPerm = null),
        RTValue.lastRef(num2, num2 = null),
        $ec);
  }
View Full Code Here

  public final int fUnboxed2S(RTValue vertexNumPerm, RTValue num2, RTExecutionContext $ec) throws CALExecutorException {
    RTValue $result = f2S(vertexNumPerm, num2, $ec);

    vertexNumPerm = null;
    num2 = null;
    return $result.evaluate($ec).getOrdinalValue();
  }

}
View Full Code Here

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f2S(
        $x0$L.evaluate($ec).getOpaqueValue(),
        $x1$L.evaluate($ec).getOpaqueValue(),
        $ec);
  }

  /**
 
View Full Code Here

    $dictvarCal_Core_Prelude_Eq_19 = null;
    graph = null;
    startVertex = null;
    endVertex = null;
    return $result.evaluate($ec).getBooleanValue();
  }

}
View Full Code Here

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f2S(
        $x0$L.evaluate($ec).getOrdinalValue(),
        $x1$L.evaluate($ec).getOrdinalValue(),
        $ec);
  }

  /**
 
View Full Code Here

    RTRecordValue $recordCase1 =
      ((RTRecordValue)(java.lang.Object)accum.evaluate($ec));
    RTValue path = $recordCase1.getOrdinalFieldValue(1);
    RTValue isCycle = $recordCase1.getOrdinalFieldValue(2);

    if (isCycle.evaluate($ec).getBooleanValue()) {
      return accum;
    } else {
      return
        RTRecordValue.makeTupleRecord(
          new RTValue[] {new TYPE_List.CAL_Cons(vertexNum, path), isCycle});
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.