extract arg_tokens[i-1] to prev_arg, arg_tokens[i] to curr_arg, arg_tokens_.front() to head_arg(), arg_tokens_.back() to last_arg()