Package com.oracle.truffle.sl.builtins
Class SLPrintlnBuiltin
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.sl.builtins.SLBuiltinNode
com.oracle.truffle.sl.builtins.SLPrintlnBuiltin
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Builtin function to write a value to the
standard output. The
different specialization leverage the typed println methods available in Java, i.e.,
primitive values are printed without converting them to a String first.
Printing involves a lot of Java code, so we need to tell the optimizing system that it should not
unconditionally inline everything reachable from the println() method. This is done via the
CompilerDirectives.TruffleBoundary annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.oracle.truffle.sl.builtins.SLBuiltinNode
executeMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
SLPrintlnBuiltin
public SLPrintlnBuiltin()
-
-
Method Details
-
println
-