Class IdentityMixinNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
org.pkl.core.ast.PklRootNode
org.pkl.core.ast.type.IdentityMixinNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class IdentityMixinNode extends PklRootNode
Root node for a mixin used as default value for type `Mixin`.
  • 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
    IdentityMixinNode(VmLanguage language, com.oracle.truffle.api.frame.FrameDescriptor descriptor, com.oracle.truffle.api.source.SourceSection sourceSection, String qualifiedName, @Nullable TypeNode argumentTypeNode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(com.oracle.truffle.api.frame.VirtualFrame frame)
     
     
    com.oracle.truffle.api.source.SourceSection
     

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

    exceptionBuilder, executeBody

    Methods inherited from class com.oracle.truffle.api.nodes.RootNode

    cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, findAsynchronousFrames, getCallTarget, getFrameDescriptor, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isTrivial, prepareForAOT, translateStackTraceElement

    Methods inherited from class com.oracle.truffle.api.nodes.ExecutableNode

    getLanguage, getLanguageInfo

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

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

    • IdentityMixinNode

      public IdentityMixinNode(VmLanguage language, com.oracle.truffle.api.frame.FrameDescriptor descriptor, com.oracle.truffle.api.source.SourceSection sourceSection, String qualifiedName, @Nullable @Nullable TypeNode argumentTypeNode)
  • Method Details

    • getSourceSection

      public com.oracle.truffle.api.source.SourceSection getSourceSection()
      Specified by:
      getSourceSection in class PklRootNode
    • getName

      public String getName()
      Specified by:
      getName in class PklRootNode
    • execute

      public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
      Specified by:
      execute in class com.oracle.truffle.api.nodes.RootNode