    # File lib/yard/parser/ruby/legacy/statement_list.rb, line 16
          def initialize(content)
            @shebang_line = nil
            @encoding_line = nil
            if content.is_a? TokenList
              @tokens = content.dup
            elsif content.is_a? String
              @tokens = TokenList.new(content.gsub("\r", ""))
            else
              raise ArgumentError, "Invalid content for StatementList: #{content.inspect}:#{content.class}"
            end

            parse_statements
          end