class RuboCop::AST::ProcessedSource

def first_token_index(range_or_node)

def first_token_index(range_or_node)
  begin_pos = source_range(range_or_node).begin_pos
  sorted_tokens.bsearch_index { |token| token.begin_pos >= begin_pos }
end