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, toStringInternal
public OptArgNode(ISourcePosition position, Node value)
public NodeType getNodeType()
getNodeType
in class Node
public Node getValue()
public <T> T accept(NodeVisitor<T> visitor)
public java.util.List<Node> childNodes()
childNodes
in class Node
public RubySymbol getName()
Copyright © 2001-2020 JRuby. All Rights Reserved.