class Bpl::AST::Declaration
Public Instance Methods
bindings()
click to toggle source
# File lib/bpl/ast/declaration.rb, line 8 def bindings; @bindings ||= Set.new end
names()
click to toggle source
# File lib/bpl/ast/declaration.rb, line 7 def names; respond_to?(:name) && [name] || [] end
unlink()
click to toggle source
Calls superclass method
# File lib/bpl/ast/declaration.rb, line 9 def unlink; super; bindings.each(&:unbind) end