public class BlockArgNode extends Node implements INameNode
containsVariableAssignment, newline
Constructor and Description |
---|
BlockArgNode(ArgumentNode argNode) |
BlockArgNode(ISourcePosition position,
int count,
RubySymbol name) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
int |
getCount()
Gets the count.
|
RubySymbol |
getName()
Get the name of this block argument
|
NodeType |
getNodeType() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public BlockArgNode(ISourcePosition position, int count, RubySymbol name)
public BlockArgNode(ArgumentNode argNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public int getCount()
public RubySymbol getName()
public java.util.List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2020 JRuby. All Rights Reserved.