Module: Mirah::AST::Scope

Includes:
Scoped
Included in:
Block, ClassAppendSelf, ClassDefinition, MethodDefinition, RescueClause, ScopedBody, Script
Defined in:
lib/mirah/ast/scope.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Scoped

#containing_scope, #scope

Instance Attribute Details

#static_scopeObject



41
42
43
# File 'lib/mirah/ast/scope.rb', line 41

def static_scope
  @static_scope ||= StaticScope.new(self)
end

#type_scope=(value) ⇒ Object (writeonly)

Sets the attribute type_scope

Parameters:

  • value

    the value to set the attribute type_scope to.



40
41
42
# File 'lib/mirah/ast/scope.rb', line 40

def type_scope=(value)
  @type_scope = value
end