public class ClassVarDeclNode extends AssignableNode implements INameNode
containsVariableAssignment, newline
Constructor and Description |
---|
ClassVarDeclNode(ISourcePosition position,
java.lang.String name,
Node valueNode) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
java.lang.String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
boolean |
needsDefinitionCheck()
Check whether the given node is considered always "defined" or whether it
has some form of definition check.
|
getValueNode, setValueNode
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, setNewline, setPosition, toString, toString, toStringInternal
public ClassVarDeclNode(ISourcePosition position, java.lang.String name, Node valueNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public java.lang.String getName()
public java.util.List<Node> childNodes()
childNodes
in class Node
public boolean needsDefinitionCheck()
Node
needsDefinitionCheck
in class Node
Copyright © 2001-2018 JRuby. All Rights Reserved.