org.jruby.ast
Class NilImplicitNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.NilNode
          extended by org.jruby.ast.NilImplicitNode
All Implemented Interfaces:
InvisibleNode, INameNode, ISourcePositionHolder

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 occurences of this node. We have this as seperate subclass so that IDE consumers can more easily ignore these.


Field Summary
static NilImplicitNode NIL
           
 
Fields inherited from class org.jruby.ast.Node
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId
 
Constructor Summary
NilImplicitNode()
           
 
Method Summary
 
Methods inherited from class org.jruby.ast.NilNode
accept, childNodes, definition, getName, interpret
 
Methods inherited from class org.jruby.ast.Node
addComment, addComments, assign, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NIL

public static final NilImplicitNode NIL
Constructor Detail

NilImplicitNode

public NilImplicitNode()


Copyright © 2002-2007 JRuby Team. All Rights Reserved.