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

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


   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.mergeVerticesInternal
   */
  public final RTValue f6S(RTValue $dictvarCal_Core_Prelude_Eq_3, RTValue graph, RTValue retainLoops, RTValue vertex1Num, RTValue vertex2Num, RTValue mergedVertex, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic

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

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here


   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.addEdgeInternal
   */
  public final RTValue f3S(RTValue $dictvarCal_Core_Prelude_Eq_10, RTValue oldGraph, RTValue newEdge, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic

    RTCons $case1 = ((RTCons)(java.lang.Object)oldGraph.evaluate($ec));

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here

    RTValue letVar_list2 =
      Partition.list2$5$def_Lazy(letVar_pattern_list1_list2, $ec);

    // Top level supercombinator logic

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

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here

        // Cal.Core.Prelude.Just
        // Decompose data type to access members.
        RTValue vertexNum = $case1.get_value();


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

        // Cal.Utilities.DirectedGraph.DirectedGraph
        // Decompose data type to access members.
        TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar2 =
View Full Code Here

    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.
      TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar2 =
        ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)
View Full Code Here

   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.reverse
   */
  public final RTValue f2S(RTValue $dictvarCal_Core_Prelude_Eq_28, RTValue graph, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic

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

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here

    switch (($case1 = (((TYPE_Maybe)(java.lang.Object)Get_Maybe_Vertex_Number.$instance.f3S($dictvarCal_Core_Prelude_Eq_9, oldGraph, newVertex, $ec).evaluate($ec)))).getOrdinalValue()) {

      case 0: {
        // Cal.Core.Prelude.Nothing

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

        // Cal.Utilities.DirectedGraph.DirectedGraph
        // Decompose data type to access members.
        TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar2 =
View Full Code Here

   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.map
   */
  public final RTValue f4S(RTValue $dictvarCal_Core_Prelude_Eq_42, RTValue $dictvarCal_Core_Prelude_Eq_43, RTValue mapFn, RTValue graph, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic

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

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here

   * This method implements the function logic of the CAL function Cal.Utilities.DirectedGraph.flattenComponents
   */
  public final RTValue f2S(RTValue $dictvarCal_Core_Prelude_Eq_47, RTValue graph, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic

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

    // Cal.Utilities.DirectedGraph.DirectedGraph
    // Decompose data type to access members.
    TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar1 =
      ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)$case1);
View Full Code Here

      letVar_relevantPairs.evaluate($ec),
      $ec)) {
      return graph.getValue();
    } else {

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

      // Cal.Utilities.DirectedGraph.DirectedGraph
      // Decompose data type to access members.
      TYPE_Directed_Graph.CAL_Directed_Graph $dcCaseVar2 =
        ((TYPE_Directed_Graph.CAL_Directed_Graph)(java.lang.Object)
View Full Code Here

TOP

Related Classes of org.openquark.cal.internal.runtime.lecc.RTCons

Copyright © 2018 www.massapicom. 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.