Class PklNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
AmendFunctionNode, ApplyVmFunction0Node, ApplyVmFunction2Node, ApplyVmFunction3Node, ApplyVmFunction4Node, ApplyVmFunction5Node, CollectionNodes.SortComparatorNode, ExpressionNode, GeneratorMemberNode, IsInstanceOfNode, TypeConstraintNode, TypeNode, UnresolvedClassMemberNode, UnresolvedFunctionNode, UnresolvedTypeNode

public abstract class PklNode extends com.oracle.truffle.api.nodes.Node
  • 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
    Modifier and Type
    Field
    Description
    protected final com.oracle.truffle.api.source.SourceSection
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    PklNode(com.oracle.truffle.api.source.SourceSection sourceSection)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected final String
     
    com.oracle.truffle.api.source.SourceSection
     
     

    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, reportReplace

    Methods inherited from class java.lang.Object

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

    • sourceSection

      protected final com.oracle.truffle.api.source.SourceSection sourceSection
  • Constructor Details

    • PklNode

      protected PklNode(com.oracle.truffle.api.source.SourceSection sourceSection)
    • PklNode

      protected PklNode()
  • Method Details

    • getSourceSection

      public com.oracle.truffle.api.source.SourceSection getSourceSection()
      Overrides:
      getSourceSection in class com.oracle.truffle.api.nodes.Node
    • exceptionBuilder

      protected VmExceptionBuilder exceptionBuilder()
    • getShortName

      protected final String getShortName()
    • toString

      public String toString()
      Overrides:
      toString in class com.oracle.truffle.api.nodes.Node