Sha256: ffefacaa1531a852f24e9c66d7a762a9cf4fe7f916f4f27844da46c3f635303c
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
module Wool module SexpAnalysis # This class models a scope in Ruby. It has a constant table, # a self pointer, and a parent pointer to the enclosing scope. # It also has a local variable table. class Scope attr_reader :constants, :self_ptr, :parent def initialize(parent, self_ptr, constants={}) @parent, @self_ptr, @constants = parent, self_ptr, constants end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wool-0.5.1 | lib/wool/analysis/scope.rb |