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> T
accept
(NodeVisitor<T> iVisitor) Deprecated.Accept for the visitor pattern.Deprecated.getName()
Deprecated.Gets the name.Deprecated.boolean
Deprecated.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, setValueNode
Methods 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:
getNodeType
in classNode
- Returns:
- the nodeId
-
accept
Deprecated.Accept for the visitor pattern. -
getName
Deprecated.Gets the name. -
childNodes
Deprecated.- Specified by:
childNodes
in classNode
-
needsDefinitionCheck
public boolean needsDefinitionCheck()Deprecated.Description copied from class:Node
Check whether the given node is considered always "defined" or whether it has some form of definition check.- Overrides:
needsDefinitionCheck
in classNode
- Returns:
- Whether the type of node represents a possibly undefined construct
-