Top Description Fields Constructors Methods
org.jruby.ast

public Class NilImplicitNode

extends NilNode
implements InvisibleNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.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 Summary

Modifier and TypeField and Description
public static final NilImplicitNode

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
isNil()

Overrides org.jruby.ast.NilNode.isNil.

Whether the node evaluates to nil and has no side effects.

Inherited from org.jruby.ast.NilNode:
acceptchildNodesgetNodeTypeneedsDefinitionCheck

Field Detail

NILback to summary
public static final NilImplicitNode NIL

Constructor Detail

NilImplicitNodeback to summary
public NilImplicitNode()

Method Detail

isNilback to summary
public boolean isNil()

Overrides org.jruby.ast.NilNode.isNil.

Doc from org.jruby.ast.Node.isNil.

Whether the node evaluates to nil and has no side effects.

Returns:boolean

true if nil, false otherwise