Class ConstantEntriesLiteralNode

All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class ConstantEntriesLiteralNode extends SpecializedObjectLiteralNode
Object literal that contains entries (and possibly properties) but not elements. Additionally, all entry keys are constants. Example: `new foo { ["one"] = 1 }`
  • Constructor Details

    • ConstantEntriesLiteralNode

      public ConstantEntriesLiteralNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, String qualifiedScopeName, boolean isCustomThisScope, @Nullable @Nullable com.oracle.truffle.api.frame.FrameDescriptor parametersDescriptor, UnresolvedTypeNode[] parameterTypes, org.graalvm.collections.UnmodifiableEconomicMap<Object,ObjectMember> members)
  • Method Details

    • copy

      public ConstantEntriesLiteralNode copy(ExpressionNode newParentNode)
      Specified by:
      copy in class ObjectLiteralNode
    • evalMapping

      protected VmMapping evalMapping(com.oracle.truffle.api.frame.VirtualFrame frame, VmMapping parent)
    • evalDynamic

      protected VmDynamic evalDynamic(com.oracle.truffle.api.frame.VirtualFrame frame, VmDynamic parent)
    • evalListing

      protected VmListing evalListing(com.oracle.truffle.api.frame.VirtualFrame frame, VmListing parent)
    • evalNull

      protected Object evalNull(com.oracle.truffle.api.frame.VirtualFrame frame, VmNull parent)
    • evalFunction

      protected VmFunction evalFunction(com.oracle.truffle.api.frame.VirtualFrame frame, VmFunction parent, AmendFunctionNode amendFunctionNode)
    • evalMappingClass

      protected VmMapping evalMappingClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent)
    • evalDynamicClass

      protected VmDynamic evalDynamicClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent)
    • evalListingClass

      protected void evalListingClass(VmClass parent)
    • fallback

      protected void fallback(Object parent)