Package org.jruby.ast
Class ClassVarDeclNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.AssignableNode
org.jruby.ast.ClassVarDeclNode
- All Implemented Interfaces:
INameNode
Deprecated.
Class variable declaration.
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) Deprecated.Accept for the visitor pattern.Deprecated.getName()Deprecated.Gets the name.Deprecated.booleanDeprecated.Check whether the given node is considered always "defined" or whether it has some form of definition check.Methods inherited from class org.jruby.ast.AssignableNode
getValueNode, setValueNodeMethods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
ClassVarDeclNode
Deprecated.
-
-
Method Details
-
getNodeType
Deprecated.- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
Deprecated.Accept for the visitor pattern. -
getName
Deprecated.Gets the name. -
childNodes
Deprecated.- Specified by:
childNodesin classNode
-
needsDefinitionCheck
public boolean needsDefinitionCheck()Deprecated.Description copied from class:NodeCheck whether the given node is considered always "defined" or whether it has some form of definition check.- Overrides:
needsDefinitionCheckin classNode- Returns:
- Whether the type of node represents a possibly undefined construct
-