Parent

Voodoo::DummyGenerator

Generator that does not generate code.

Public Class Methods

new(*params) click to toggle source
# File voodoo/generators/dummy_generator.rb, line 7
def initialize *params
  @locals = Set.new
  @symbol_tracker = SymbolTracker.new
end

Public Instance Methods

add(section, *code) click to toggle source
# File voodoo/generators/dummy_generator.rb, line 12
def add section, *code
  analyze code
end
undefined_symbols() click to toggle source

Returns a set of symbols that have been used, but not defined.

# File voodoo/generators/dummy_generator.rb, line 17
def undefined_symbols
  @symbol_tracker.used_but_undefined_symbols
end
write(*args) click to toggle source
# File voodoo/generators/dummy_generator.rb, line 21
def write *args
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.