public class OptArgNode extends Node implements INameNode
containsVariableAssignment, newline| Constructor and Description |
|---|
OptArgNode(ISourcePosition position,
Node value) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> visitor) |
java.util.List<Node> |
childNodes() |
RubySymbol |
getName() |
NodeType |
getNodeType() |
Node |
getValue() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternalpublic OptArgNode(ISourcePosition position, Node value)
public NodeType getNodeType()
getNodeType in class Nodepublic Node getValue()
public <T> T accept(NodeVisitor<T> visitor)
public java.util.List<Node> childNodes()
childNodes in class Nodepublic RubySymbol getName()
Copyright © 2001-2021 JRuby. All Rights Reserved.