Method: Panini::DerivationStrategy::Exhaustive#initialize

Defined in:
lib/derivation_strategy/exhaustive.rb

#initialize(grammar, length_limit = nil) ⇒ Exhaustive

Returns a new instance of Exhaustive.



25
26
27
28
29
# File 'lib/derivation_strategy/exhaustive.rb', line 25

def initialize(grammar, length_limit = nil)
  super(grammar)
  @in_progress_work = [].push([@grammar.start])
  @length_limit = length_limit
end