Class GlobalBuiltins.JSGlobalPrintNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
GlobalBuiltins

public abstract static class GlobalBuiltins.JSGlobalPrintNode extends JSBuiltinNode
Non-standard print()/printErr() method to write to the console.
  • Constructor Details

    • JSGlobalPrintNode

      public JSGlobalPrintNode(JSContext context, JSBuiltin builtin, boolean useErr, boolean noNewline)
  • Method Details

    • executeObjectArray

      public abstract Object executeObjectArray(Object[] args)
    • print

      protected Object print(Object[] arguments, com.oracle.truffle.api.profiles.InlinedConditionProfile argumentsCount, StringBuilderProfile builderProfile, com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode appendCodePointNode, com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode appendStringNode, com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode toStringNode)
    • toString1

      protected final com.oracle.truffle.api.strings.TruffleString toString1(Object target)