public class ClassVarNode extends Node implements INameNode, SideEffectFree
containsVariableAssignment, newline
Constructor and Description |
---|
ClassVarNode(ISourcePosition position,
String name) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
void |
setName(String name) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public ClassVarNode(ISourcePosition position, String name)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public String getName()
public List<Node> childNodes()
childNodes
in class Node
public void setName(String name)
Copyright © 2001-2016 JRuby. All Rights Reserved.