|
||||||||||
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 |
---|
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST |
Constructor Summary | |
---|---|
ZeroArgNode(ISourcePosition position)
|
Method Summary | |
---|---|
java.lang.Object |
accept(NodeVisitor visitor)
|
java.util.List<Node> |
childNodes()
|
Arity |
getArity()
Zero arguments... |
NodeType |
getNodeType()
|
Methods inherited from class org.jruby.ast.Node |
---|
assign, createList, definition, getNodeName, getPosition, 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 NodeType getNodeType()
getNodeType
in class Node
public java.lang.Object 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 |