|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.ZeroArgNode
public class ZeroArgNode
Represents a zero arg in a block. this is never visited and is used only in an instanceof check
do || end
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId |
Constructor Summary | |
---|---|
ZeroArgNode(ISourcePosition position)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor visitor)
|
java.util.List<Node> |
childNodes()
|
Arity |
getArity()
Zero arguments... |
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, assign, createList, definition, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, interpret, isInvisible, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ZeroArgNode(ISourcePosition position)
Method Detail |
---|
public Instruction accept(NodeVisitor visitor)
accept
in class Node
Node.accept(NodeVisitor)
public Arity getArity()
getArity
in interface IArityNode
public java.util.List<Node> childNodes()
childNodes
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |