# File lib/dbi/sql/preparedstatement.rb, line 83
 83:             def prepare
 84:                 @result = [] 
 85:                 @unbound = {}
 86:                 pos = 0
 87:                 @arg_index = 0
 88: 
 89:                 tokens.each { |part|
 90:                     case part
 91:                     when '?'
 92:                         @result[pos] = nil
 93:                         @unbound[pos] = @arg_index
 94:                         pos += 1
 95:                         @arg_index += 1
 96:                     when '??'
 97:                         if @result[pos-1] != nil
 98:                             @result[pos-1] << "?"
 99:                         else
100:                             @result[pos] = "?"
101:                             pos += 1
102:                         end
103:                     else
104:                         if @result[pos-1] != nil
105:                             @result[pos-1] << part
106:                         else
107:                             @result[pos] = part
108:                             pos += 1
109:                         end
110:                     end
111:                 }
112:             end