Class SLNewObjectBuiltin

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.sl.builtins.SLBuiltinNode
com.oracle.truffle.sl.builtins.SLNewObjectBuiltin
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class SLNewObjectBuiltin extends SLBuiltinNode
Built-in function to create a new object. Objects in SL are simply made up of name/value pairs.
  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    newObject(SLNull o, com.oracle.truffle.api.instrumentation.AllocationReporter reporter, SLLanguage language)
     
    newObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary values)
     

    Methods inherited from class com.oracle.truffle.sl.builtins.SLBuiltinNode

    execute

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SLNewObjectBuiltin

      public SLNewObjectBuiltin()
  • Method Details

    • newObject

      public Object newObject(SLNull o, com.oracle.truffle.api.instrumentation.AllocationReporter reporter, SLLanguage language)
    • newObject

      public Object newObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary values)