Class TypeConstraintNode

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

public abstract class TypeConstraintNode extends PklNode
  • 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
    TypeConstraintNode(com.oracle.truffle.api.source.SourceSection sourceSection)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static ApplyVmFunction1Node
     
    protected void
    eval(com.oracle.truffle.api.frame.VirtualFrame frame, boolean result)
     
    protected void
    eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmFunction function, ApplyVmFunction1Node applyNode)
     
    abstract void
    execute(com.oracle.truffle.api.frame.VirtualFrame frame)
     
     
    protected void
    fallback(Object object)
     

    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

    • TypeConstraintNode

      protected TypeConstraintNode(com.oracle.truffle.api.source.SourceSection sourceSection)
  • Method Details

    • execute

      public abstract void execute(com.oracle.truffle.api.frame.VirtualFrame frame)
    • export

      public String export()
    • eval

      protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, boolean result)
    • eval

      protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmFunction function, ApplyVmFunction1Node applyNode)
    • fallback

      protected void fallback(Object object)
    • createApplyNode

      protected static ApplyVmFunction1Node createApplyNode()