Class EmptyObjectLiteralNode

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

    public abstract class EmptyObjectLiteralNode
    extends ExpressionNode
    Object literal node with empty body. Example: RHS of `x = foo {}`
    • 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 
      Modifier Constructor Description
      protected EmptyObjectLiteralNode​(com.oracle.truffle.api.source.SourceSection sourceSection)  
    • Constructor Detail

      • EmptyObjectLiteralNode

        protected EmptyObjectLiteralNode​(com.oracle.truffle.api.source.SourceSection sourceSection)
    • Method Detail

      • eval

        protected java.lang.Object eval​(VmClass parent)
      • eval

        protected java.lang.Object eval​(VmObjectLike parent)
      • eval

        protected java.lang.Object eval​(VmNull parent)
      • fallback

        protected void fallback​(java.lang.Object parent)