class Treetop::Compiler::ParsingRule

def generate_cache_lookup(builder)

def generate_cache_lookup(builder)
  builder.if_ "node_cache[:#{name}].has_key?(index)" do
    builder.assign 'cached', "node_cache[:#{name}][index]"
    builder << '@index = cached.interval.end if cached'
    builder << 'return cached'
  end
end