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

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


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

  /**
   * f1L
   * This method implements the function logic of the CAL function Cal.Core.Prelude.$dictCal.Core.Prelude.Num#Cal.Core.Prelude.Int
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).getLongValue(), $ec);
  }

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

                _equals___List.$L1_Int_0,
                head1,
                head2)).evaluate(
                $ec).getBooleanValue()) {
                x = tail1.evaluate($ec);
                y = tail2.evaluate($ec);
                continue TRLoop;
              } else {
                return _equals___List.$L2_Boolean_false;
              }
            }
View Full Code Here

                _equals___List.$L1_Int_0,
                head1,
                head2)).evaluate(
                $ec).getBooleanValue()) {
                x = tail1.evaluate($ec);
                y = tail2.evaluate($ec);
                continue TRLoop;
              } else {
                return false;
              }
            }
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
      f3S(
        RTValue.lastRef(f.evaluate($ec), f = null),
        RTValue.lastRef(x, x = null),
        RTValue.lastRef(y, y = null),
        $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).getShortValue(), $ec);
  }

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

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

  /**
 
View Full Code Here

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

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

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

    // Release the fields in the root node to open them to garbage collection
    $rootNode.clearMembers();
    return
      f3S(
        $cond$L.evaluate($ec).getBooleanValue(),
        RTValue.lastRef($then, $then = null),
        RTValue.lastRef($else, $else = null),
        $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.