Class ConstantValueNode

  • All Implemented Interfaces:
    com.oracle.truffle.api.nodes.NodeInterface, java.lang.Cloneable, ConstantNode

    public final class ConstantValueNode
    extends ExpressionNode
    implements ConstantNode
    • 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
      ConstantValueNode​(com.oracle.truffle.api.source.SourceSection sourceSection, java.lang.Object value)  
      ConstantValueNode​(java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object executeGeneric​(com.oracle.truffle.api.frame.VirtualFrame frame)  
      java.lang.Object getValue()  
      • Methods inherited from class com.oracle.truffle.api.nodes.Node

        accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize
      • Methods inherited from class java.lang.Object

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

      • ConstantValueNode

        public ConstantValueNode​(com.oracle.truffle.api.source.SourceSection sourceSection,
                                 java.lang.Object value)
      • ConstantValueNode

        public ConstantValueNode​(java.lang.Object value)
    • Method Detail

      • executeGeneric

        public java.lang.Object executeGeneric​(com.oracle.truffle.api.frame.VirtualFrame frame)
        Specified by:
        executeGeneric in class ExpressionNode