Class ReadFrameSlotNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.frame.ReadFrameSlotNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class ReadFrameSlotNode extends ExpressionNode
  • 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
  • Field Summary

    Fields inherited from class org.pkl.core.ast.PklNode

    sourceSection
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ReadFrameSlotNode(com.oracle.truffle.api.source.SourceSection sourceSection, int slot)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    evalBoolean(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    protected double
    evalFloat(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    protected Object
    evalGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    protected long
    evalInt(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    protected Object
    evalObject(com.oracle.truffle.api.frame.VirtualFrame frame)
     

    Methods inherited from class org.pkl.core.ast.ExpressionNode

    executeBoolean, executeFloat, executeGeneric, executeInt

    Methods inherited from class org.pkl.core.ast.PklNode

    exceptionBuilder, getShortName, getSourceSection, toString

    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 Details

    • ReadFrameSlotNode

      protected ReadFrameSlotNode(com.oracle.truffle.api.source.SourceSection sourceSection, int slot)
  • Method Details

    • evalInt

      protected long evalInt(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.frame.FrameSlotTypeException
      Throws:
      com.oracle.truffle.api.frame.FrameSlotTypeException
    • evalFloat

      protected double evalFloat(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.frame.FrameSlotTypeException
      Throws:
      com.oracle.truffle.api.frame.FrameSlotTypeException
    • evalBoolean

      protected boolean evalBoolean(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.frame.FrameSlotTypeException
      Throws:
      com.oracle.truffle.api.frame.FrameSlotTypeException
    • evalObject

      protected Object evalObject(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.frame.FrameSlotTypeException
      Throws:
      com.oracle.truffle.api.frame.FrameSlotTypeException
    • evalGeneric

      protected Object evalGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)