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


    // 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.intToByte
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.intToFloat
View Full Code Here

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

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

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

    // 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.Eq#Cal.Core.Prelude.Int
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 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.intToInteger
View Full Code Here

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

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