Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLPrintlnBuiltin.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 503529c65456 |
children | 8dddde8b20d4 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
39 * SOFTWARE. | 39 * SOFTWARE. |
40 */ | 40 */ |
41 package com.oracle.truffle.sl.builtins; | 41 package com.oracle.truffle.sl.builtins; |
42 | 42 |
43 import java.io.*; | |
44 | |
45 import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; | 43 import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; |
46 import com.oracle.truffle.api.dsl.*; | 44 import com.oracle.truffle.api.dsl.Specialization; |
47 import com.oracle.truffle.api.nodes.*; | 45 import com.oracle.truffle.api.nodes.NodeInfo; |
48 import com.oracle.truffle.api.source.*; | 46 import com.oracle.truffle.api.source.SourceSection; |
49 import com.oracle.truffle.sl.runtime.*; | 47 import com.oracle.truffle.sl.runtime.SLContext; |
48 import java.io.PrintWriter; | |
50 | 49 |
51 /** | 50 /** |
52 * Builtin function to write a value to the {@link SLContext#getOutput() standard output}. The | 51 * Builtin function to write a value to the {@link SLContext#getOutput() standard output}. The |
53 * different specialization leverage the typed {@code println} methods available in Java, i.e., | 52 * different specialization leverage the typed {@code println} methods available in Java, i.e., |
54 * primitive values are printed without converting them to a {@link String} first. | 53 * primitive values are printed without converting them to a {@link String} first. |