Class: GraphQL::Modernize::ClassDeclaration

Inherits:
Data
  • Object
show all
Defined in:
lib/graphql/modernize/class_hierarchy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#end_offsetObject (readonly)

Returns the value of attribute end_offset

Returns:

  • (Object)

    the current value of end_offset



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def end_offset
  @end_offset
end

#module_nodeObject (readonly)

Returns the value of attribute module_node

Returns:

  • (Object)

    the current value of module_node



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def module_node
  @module_node
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def path
  @path
end

#start_offsetObject (readonly)

Returns the value of attribute start_offset

Returns:

  • (Object)

    the current value of start_offset



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def start_offset
  @start_offset
end

#superclassObject (readonly)

Returns the value of attribute superclass

Returns:

  • (Object)

    the current value of superclass



5
6
7
# File 'lib/graphql/modernize/class_hierarchy.rb', line 5

def superclass
  @superclass
end