Class: Rubinius::AST::SClassScope

Inherits:
ClosedScope show all
Defined in:
lib/compiler/ast/definitions.rb

Instance Attribute Summary

Attributes inherited from ClosedScope

#body

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from ClosedScope

#assign_local_reference, #module?, #nest_scope, #new_local, #new_nested_local, #search_local, #to_sexp

Methods included from Compiler::LocalVariables

#allocate_slot, #local_count, #local_names, #variables

Methods inherited from Node

#ascii_graph, #attributes, #children, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, node_name, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk

Constructor Details

#initialize(line, body) ⇒ SClassScope

Returns a new instance of SClassScope.



619
620
621
622
623
# File 'lib/compiler/ast/definitions.rb', line 619

def initialize(line, body)
  @line = line
  @body = body
  @name = nil
end