Class MemberNode

    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected VmExceptionBuilder exceptionBuilder()  
      protected java.lang.Object executeBody​(com.oracle.truffle.api.frame.VirtualFrame frame)  
      ExpressionNode getBodyNode()  
      com.oracle.truffle.api.source.SourceSection getBodySection()  
      com.oracle.truffle.api.source.SourceSection getHeaderSection()  
      java.lang.String getName()  
      com.oracle.truffle.api.source.SourceSection getSourceSection()  
      boolean isUndefined()  
      void replaceBody​(java.util.function.Function<ExpressionNode,​ExpressionNode> replacer)  
      protected boolean shouldRunTypecheck​(com.oracle.truffle.api.frame.VirtualFrame frame)
      If true, the property value computed by this node is not the final value exposed to user code but will still be amended.
      • Methods inherited from class com.oracle.truffle.api.nodes.RootNode

        cloneUninitialized, copy, countsTowardsStackTraceLimit, createConstantNode, execute, 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
    • Method Detail

      • getSourceSection

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

        public final com.oracle.truffle.api.source.SourceSection getHeaderSection()
      • getBodySection

        public final com.oracle.truffle.api.source.SourceSection getBodySection()
      • getName

        public final java.lang.String getName()
        Specified by:
        getName in class PklRootNode
      • executeBody

        protected final java.lang.Object executeBody​(com.oracle.truffle.api.frame.VirtualFrame frame)
      • shouldRunTypecheck

        protected final boolean shouldRunTypecheck​(com.oracle.truffle.api.frame.VirtualFrame frame)
        If true, the property value computed by this node is not the final value exposed to user code but will still be amended.

        Used to disable type check for to-be-amended properties. See VmUtils.SKIP_TYPECHECK_MARKER. IDEA: might be more appropriate to only skip constraints check

      • isUndefined

        public boolean isUndefined()