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

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


          RTValue xs = $case1.get_tail();

          javaList.add(
            elementMappingFunction.f1L(x, $ec).evaluate(
              $ec).getOpaqueValue());
          list = xs.evaluate($ec);
          continue TRLoop;
        }

        default: {
          return
View Full Code Here


          RTValue xs = $case1.get_tail();

          javaList.add(
            elementMappingFunction.f1L(x, $ec).evaluate(
              $ec).getOpaqueValue());
          list = xs.evaluate($ec);
          continue TRLoop;
        }

        default: {
          return
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.negateInt
View Full Code Here

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

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

  /**
 
View Full Code Here

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

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

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

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

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f2S(
        x$L.evaluate($ec).getOrdinalValue(),
        y$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.