Examples of RTValue


Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.intToByte
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue $x0$L = $rootNode.getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return f1S($x0$L.evaluate($ec).getOrdinalValue(), $ec);
  }
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.edgelessGraph
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue vertices = $rootNode.getArgValue();
    RTValue $dictvarCal_Core_Prelude_Eq_12 =
      $rootNode.prevArg().getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.intToFloat
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue $x0$L = $rootNode.getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return f1S($x0$L.evaluate($ec).getOrdinalValue(), $ec);
  }
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.length
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue list = $rootNode.getArgValue();

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

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * fUnboxed1S
   * This method implements the logic of the CAL function Cal.Core.Prelude.length
   * This version of the logic returns an unboxed value.
   */
  public final int fUnboxed1S(RTValue list, RTExecutionContext $ec) throws CALExecutorException {
    RTValue $result = f1S(list, $ec);

    list = null;
    return $result.evaluate($ec).getOrdinalValue();
  }
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.$dictCal.Core.Prelude.Eq#Cal.Core.Prelude.Int
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue $i$L = $rootNode.getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return f1S($i$L.evaluate($ec).getOrdinalValue(), $ec);
  }
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.greaterThanEqualsInt
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue $x1$L = $rootNode.getArgValue();
    RTValue $x0$L = $rootNode.prevArg().getArgValue();

    // 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

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.intToInteger
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue intValue$L = $rootNode.getArgValue();

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return f1S(intValue$L.evaluate($ec).getOrdinalValue(), $ec);
  }
View Full Code Here

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.concatString
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue listOfStrings = $rootNode.getArgValue();

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

Examples of org.openquark.cal.internal.runtime.lecc.RTValue

   * f
   * This method implements the function logic of the CAL function Cal.Core.Prelude.remainderInt
   */
  public final RTValue f(final RTResultFunction $rootNode, final RTExecutionContext $ec) throws CALExecutorException {
    // Arguments
    RTValue $x1$L = $rootNode.getArgValue();
    RTValue $x0$L = $rootNode.prevArg().getArgValue();

    // 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
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.