Package org.jruby.ast

Class NilImplicitNode

All Implemented Interfaces:
InvisibleNode, SideEffectFree

public class NilImplicitNode extends NilNode implements InvisibleNode
A node which behaves like a nil node, but is not actually present in the AST as a syntactical element (e.g. IDE's should ignore occurrences of this node. We have this as separate subclass so that IDE consumers can more easily ignore these.
  • Field Details

  • Constructor Details

    • NilImplicitNode

      public NilImplicitNode()
  • Method Details

    • isNil

      public boolean isNil()
      Description copied from class: Node
      Whether the node evaluates to nil and has no side effects.
      Overrides:
      isNil in class NilNode
      Returns:
      true if nil, false otherwise