Package org.jruby.ast

Class ClassVarDeclNode

All Implemented Interfaces:
INameNode

@Deprecated public class ClassVarDeclNode extends AssignableNode implements INameNode
Deprecated.
Class variable declaration.
  • Constructor Details

    • ClassVarDeclNode

      public ClassVarDeclNode(int line, RubySymbol name, Node valueNode)
      Deprecated.
  • Method Details

    • getNodeType

      public NodeType getNodeType()
      Deprecated.
      Specified by:
      getNodeType in class Node
      Returns:
      the nodeId
    • accept

      public <T> T accept(NodeVisitor<T> iVisitor)
      Deprecated.
      Accept for the visitor pattern.
      Specified by:
      accept in class Node
      Parameters:
      iVisitor - the visitor
    • getName

      public RubySymbol getName()
      Deprecated.
      Gets the name.
      Specified by:
      getName in interface INameNode
      Returns:
      Returns a String
    • childNodes

      public List<Node> childNodes()
      Deprecated.
      Specified by:
      childNodes in class Node
    • 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 class Node
      Returns:
      Whether the type of node represents a possibly undefined construct