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

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


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


        set,
        componentSet,
        $ec);

    // Top level supercombinator logic
    if (Is_Empty.$instance.fUnboxed1S(letVar_updatedSet.evaluate($ec), $ec)) {
      return Flatten_Components__remove_Component_Set__7.i_Nothing;
    } else {
      return new TYPE_Maybe.CAL_Just(letVar_updatedSet);
    }
  }
View Full Code Here

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

  /**
   * f1L
 
View Full Code Here

    // 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).getByteValue(), $ec);
  }

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

    // Top level supercombinator logic
    if (Is_Just.$instance.fUnboxed1S(
      letVar_maybeVertex1Num.evaluate($ec),
      $ec) &&
    Is_Just.$instance.fUnboxed1S(letVar_maybeVertex2Num.evaluate($ec), $ec)) {

      RTCons $case2 = ((RTCons)(java.lang.Object)graph.evaluate($ec));

      // Cal.Utilities.DirectedGraph.DirectedGraph
      // Decompose data type to access members.
View Full Code Here

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

  /**
 
View Full Code Here

    // Arguments
    RTValue x$L = $rootNode.getArgValue();

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

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

      f3S($dictvarCal_Core_Prelude_Eq_8, graph, startVertex, $ec);

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

}
View Full Code Here

    // 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);
  }

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

    // 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).getDoubleValue(), $ec);
  }

  /**
   * f1L
   * This method implements the function logic of the CAL function Cal.Core.Prelude.doubleToInt
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.