class SyntaxTree::Index::ClassDefinition

This entry represents a class definition using the class keyword.

Attributes

comments[R]
location[R]
name[R]
nesting[R]
superclass[R]

Public Class Methods

new(nesting, name, superclass, location, comments) click to toggle source
# File lib/syntax_tree/index.rb, line 25
def initialize(nesting, name, superclass, location, comments)
  @nesting = nesting
  @name = name
  @superclass = superclass
  @location = location
  @comments = comments
end