summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga/lib/mrb/scripts/expression.rb
blob: 29290e207f2025b87299f4a62a20f6e4d3ddc1e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Groonga
  class Expression
    def build_scan_info(op, size)
      begin
        builder = ScanInfoBuilder.new(self, op, size)
        builder.build
      rescue => error
        Context.instance.record_error(:invalid_argument, error)
        nil
      end
    end
  end
end